fix(core): update

This commit is contained in:
Philipp Kunz 2022-01-28 00:38:45 +01:00
parent c719f6a14b
commit 24f7eef3af

View File

@ -3,6 +3,7 @@ FROM docker:20.10.8
RUN apk update && apk add --no-cache \
git \
openssl \
openssl-dev \
ca-certificates \
bash \
curl \
@ -10,6 +11,7 @@ RUN apk update && apk add --no-cache \
gcc \
g++ \
python3 \
python3-dev \
py3-pip \
linux-headers \
paxctl \
@ -19,7 +21,11 @@ RUN apk update && apk add --no-cache \
nodejs-current \
npm \
krb5-libs \
&& update-ca-certificates
&& update-ca-certificates \
rust \
docker-cli \
libffi-dev \
libc-dev
# Add the patch fix
COPY ./stack-fix.c /lib/
@ -38,8 +44,7 @@ ENV LD_PRELOAD /lib/stack-fix.so
RUN npm config set unsafe-perm true
ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
RUN apk update && \
apk add --no-cache docker-cli python3 && \
apk add --no-cache --virtual .docker-compose-deps python3-dev libffi-dev openssl-dev gcc libc-dev make && \
apk add --no-cache --virtual .docker-compose-deps && \
pip3 install docker-compose && \
apk del .docker-compose-deps