From f5f6504e5781c6e9d4cef3e9b1c2280fd0a8afdc Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Sun, 14 Feb 2021 13:36:07 -0600 Subject: bitbake: contrib: Add Dockerfile for building hash server Adds a Dockerfile for build the reference hash equivalence server in a container (Bitbake rev: d9a0a88db5888039bfbb6ce5129b43350f79b1c1) Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie --- bitbake/contrib/hashserv/Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 bitbake/contrib/hashserv/Dockerfile (limited to 'bitbake/contrib/hashserv') diff --git a/bitbake/contrib/hashserv/Dockerfile b/bitbake/contrib/hashserv/Dockerfile new file mode 100644 index 0000000000..d6fc728f37 --- /dev/null +++ b/bitbake/contrib/hashserv/Dockerfile @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2021 Joshua Watt +# +# 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"] -- cgit v1.2.3-54-g00ecf