diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2021-02-14 13:36:07 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-16 11:53:10 +0000 |
commit | d9a0a88db5888039bfbb6ce5129b43350f79b1c1 (patch) | |
tree | 4a7907b1e4936ffa4bc983a47c09614cff7abba3 | |
parent | 969ac64adab236ce2d5196bcc294005a497913ae (diff) | |
download | bitbake-d9a0a88db5888039bfbb6ce5129b43350f79b1c1.tar.gz |
contrib: Add Dockerfile for building hash server
Adds a Dockerfile for build the reference hash equivalence server in a
container
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | contrib/hashserv/Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/hashserv/Dockerfile b/contrib/hashserv/Dockerfile new file mode 100644 index 000000000..d6fc728f3 --- /dev/null +++ b/contrib/hashserv/Dockerfile @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2021 Joshua Watt <JPEWhacker@gmail.com> +# +# Dockerfile to build a bitbake hash equivalence server container +# +# From the root of the bitbake repository, run: +# +# docker build -f contrib/hashserv/Dockerfile . +# + +FROM alpine:3.13.1 + +RUN apk add --no-cache python3 + +COPY bin/bitbake-hashserv /opt/bbhashserv/bin/ +COPY lib/hashserv /opt/bbhashserv/lib/hashserv/ + +ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"] |