summaryrefslogtreecommitdiff
path: root/upstream-layers/bitbake/contrib/hashserv/Dockerfile
blob: 5c8b8dd11582098e007d55c87749934fe35aa326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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.23

RUN apk add --no-cache python3 py3-websockets libgcc

COPY bin/bitbake-hashserv /opt/bbhashserv/bin/
COPY lib/hashserv /opt/bbhashserv/lib/hashserv/
COPY lib/bb /opt/bbhashserv/lib/bb/
COPY lib/ply /opt/bbhashserv/lib/ply/
COPY lib/bs4 /opt/bbhashserv/lib/bs4/

ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"]