From d9a0a88db5888039bfbb6ce5129b43350f79b1c1 Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Sun, 14 Feb 2021 13:36:07 -0600 Subject: 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 Signed-off-by: Richard Purdie --- contrib/hashserv/Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 contrib/hashserv/Dockerfile (limited to 'contrib') 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 +# +# 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 1.2.3-korg