1
0
mirror of https://github.com/containers/youki synced 2024-11-22 17:02:00 +01:00
youki/cross/Dockerfile.gnu

19 lines
539 B
Docker
Raw Permalink Normal View History

ARG CROSS_BASE_IMAGE
ARG CROSS_DEB_ARCH
FROM $CROSS_BASE_IMAGE
ARG CROSS_DEB_ARCH
RUN dpkg --add-architecture ${CROSS_DEB_ARCH} && \
apt-get -y update && \
apt-get install -y pkg-config \
# dependencies required to build libsecccomp-rs
libseccomp-dev:${CROSS_DEB_ARCH} \
# dependencies required to build libbpf-sys
libelf-dev:${CROSS_DEB_ARCH} \
zlib1g-dev:${CROSS_DEB_ARCH} \
# dependencies to build wasmedge-sys
libzstd-dev:${CROSS_DEB_ARCH}
COPY hack/busctl.sh /bin/busctl
RUN chmod +x /bin/busctl