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> |
| 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 | |
| 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/ |
| 18 | |
| 19 | ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"] |