Andrew Geissler | 9b4d8b0 | 2021-02-19 12:26:16 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: MIT |
| 2 | # |
| 3 | # Copyright (c) 2021 Joshua Watt <JPEWhacker@gmail.com> |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 4 | # |
Andrew Geissler | 9b4d8b0 | 2021-02-19 12:26:16 -0600 | [diff] [blame] | 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 | |
| 12 | FROM alpine:3.13.1 |
| 13 | |
| 14 | RUN apk add --no-cache python3 |
| 15 | |
| 16 | COPY bin/bitbake-hashserv /opt/bbhashserv/bin/ |
| 17 | COPY lib/hashserv /opt/bbhashserv/lib/hashserv/ |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 18 | COPY lib/bb /opt/bbhashserv/lib/bb/ |
| 19 | COPY lib/codegen.py /opt/bbhashserv/lib/codegen.py |
| 20 | COPY lib/ply /opt/bbhashserv/lib/ply/ |
| 21 | COPY lib/bs4 /opt/bbhashserv/lib/bs4/ |
Andrew Geissler | 9b4d8b0 | 2021-02-19 12:26:16 -0600 | [diff] [blame] | 22 | |
| 23 | ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"] |