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:25 +0000 |
commit | f5f6504e5781c6e9d4cef3e9b1c2280fd0a8afdc (patch) | |
tree | bfed3086e8e96e7f2b72724d986ea29f352c46d2 /bitbake/contrib/hashserv | |
parent | e26e2bf78eccbb2845d5fb7275704e3497abb433 (diff) | |
download | poky-f5f6504e5781c6e9d4cef3e9b1c2280fd0a8afdc.tar.gz |
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>
Diffstat (limited to 'bitbake/contrib/hashserv')
-rw-r--r-- | bitbake/contrib/hashserv/Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ | |||
1 | # SPDX-License-Identifier: MIT | ||
2 | # | ||
3 | # Copyright (c) 2021 Joshua Watt <JPEWhacker@gmail.com> | ||
4 | # | ||
5 | # Dockerfile to build a bitbake hash equivalence server container | ||
6 | # | ||
7 | # From the root of the bitbake repository, run: | ||
8 | # | ||
9 | # docker build -f contrib/hashserv/Dockerfile . | ||
10 | # | ||
11 | |||
12 | FROM alpine:3.13.1 | ||
13 | |||
14 | RUN apk add --no-cache python3 | ||
15 | |||
16 | COPY bin/bitbake-hashserv /opt/bbhashserv/bin/ | ||
17 | COPY lib/hashserv /opt/bbhashserv/lib/hashserv/ | ||
18 | |||
19 | ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"] | ||