blob: 74b4a3be1d1564883b0fffe2f03251b63e0e0880 [file] [log] [blame]
Andrew Geissler9b4d8b02021-02-19 12:26:16 -06001# SPDX-License-Identifier: MIT
2#
3# Copyright (c) 2021 Joshua Watt <JPEWhacker@gmail.com>
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00004#
Andrew Geissler9b4d8b02021-02-19 12:26:16 -06005# Dockerfile to build a bitbake hash equivalence server container
6#
7# From the root of the bitbake repository, run:
8#
9# docker build -f contrib/hashserv/Dockerfile .
10#
11
12FROM alpine:3.13.1
13
14RUN apk add --no-cache python3
15
16COPY bin/bitbake-hashserv /opt/bbhashserv/bin/
17COPY lib/hashserv /opt/bbhashserv/lib/hashserv/
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000018COPY lib/bb /opt/bbhashserv/lib/bb/
19COPY lib/codegen.py /opt/bbhashserv/lib/codegen.py
20COPY lib/ply /opt/bbhashserv/lib/ply/
21COPY lib/bs4 /opt/bbhashserv/lib/bs4/
Andrew Geissler9b4d8b02021-02-19 12:26:16 -060022
23ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"]