mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
Libgcc is required as a runtime dependency. Without it, we get the following error: OSError: Error loading shared library libgcc_s.so.1: No such file or directory (Bitbake rev: 95e61f3dacacb3a001d9f0e2db4c4a2960d96640) Signed-off-by: Jesse Riemens <riemensjesse@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
632 B
Docker
24 lines
632 B
Docker
# 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 libgcc
|
|
|
|
COPY bin/bitbake-hashserv /opt/bbhashserv/bin/
|
|
COPY lib/hashserv /opt/bbhashserv/lib/hashserv/
|
|
COPY lib/bb /opt/bbhashserv/lib/bb/
|
|
COPY lib/codegen.py /opt/bbhashserv/lib/codegen.py
|
|
COPY lib/ply /opt/bbhashserv/lib/ply/
|
|
COPY lib/bs4 /opt/bbhashserv/lib/bs4/
|
|
|
|
ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"]
|