1# SPDX-License-Identifier: MIT 2# 3# Copyright (c) 2021 Joshua Watt <JPEWhacker@gmail.com> 4# 5# 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/ 18COPY 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/ 22 23ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"] 24