2023-11-01 13:00:53 +01:00
|
|
|
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 && \
|
2023-12-21 12:50:03 +01:00
|
|
|
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}
|
2024-04-27 14:49:58 +02:00
|
|
|
|
|
|
|
COPY hack/busctl.sh /bin/busctl
|
|
|
|
RUN chmod +x /bin/busctl
|