aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2021-02-14 13:36:07 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-16 11:53:10 +0000
commitd9a0a88db5888039bfbb6ce5129b43350f79b1c1 (patch)
tree4a7907b1e4936ffa4bc983a47c09614cff7abba3 /contrib
parent969ac64adab236ce2d5196bcc294005a497913ae (diff)
downloadbitbake-d9a0a88db5888039bfbb6ce5129b43350f79b1c1.tar.gz
bitbake-d9a0a88db5888039bfbb6ce5129b43350f79b1c1.tar.bz2
bitbake-d9a0a88db5888039bfbb6ce5129b43350f79b1c1.zip
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>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/hashserv/Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/hashserv/Dockerfile b/contrib/hashserv/Dockerfile
new file mode 100644
index 00000000..d6fc728f
--- /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"]