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 <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Watt 2021-02-14 13:36:07 -06:00 committed by Richard Purdie
parent e26e2bf78e
commit f5f6504e57

View File

@ -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"]