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