Fix build

This commit is contained in:
Franck Nijhof 2022-03-09 16:29:38 +01:00
parent 5420cd55fc
commit 207ef87f14
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -10,8 +10,11 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN \
apk add --no-cache --virtual .build-dependencies \
build-base=0.5-r2 \
linux-headers=5.10.41-r0 \
cargo=1.56.1-r0 \
git=2.34.1-r0 \
linux-headers=5.10.41-r0 \
openssl-dev=1.1.1l-r8 \
pkgconf=1.8.0-r0 \
\
&& apk add --no-cache \
libgcc=10.3.1_git20211027-r0 \
@ -25,7 +28,9 @@ RUN \
&& make install \
\
&& apk del --no-cache --purge .build-dependencies \
&& rm -f -r /tmp/*
&& rm -f -r \
/root/.cargo \
/tmp/*
# Copy root filesystem
COPY rootfs /