From b043fb93066578d008ab09aa4aefd12c2d461cba Mon Sep 17 00:00:00 2001 From: Pierre-Gilles Leymarie Date: Fri, 2 Aug 2024 13:43:00 +0200 Subject: [PATCH] Add libc6-compat to build deps in Dockerfile --- docker/Dockerfile | 2 +- docker/Dockerfile.buildx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 03175e56f2..98d88f0237 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -24,7 +24,7 @@ WORKDIR /src ADD . /src COPY ./static /src/server/static WORKDIR /src/server -RUN apk add --no-cache --virtual .build-deps make gcc g++ python3 py3-setuptools git libffi-dev linux-headers \ +RUN apk add --no-cache --virtual .build-deps make gcc g++ python3 py3-setuptools git libffi-dev linux-headers libc6-compat \ && npm ci --unsafe-perm --production \ && npm cache clean --force \ && apk del .build-deps diff --git a/docker/Dockerfile.buildx b/docker/Dockerfile.buildx index 35e4c45c3f..271b5622da 100644 --- a/docker/Dockerfile.buildx +++ b/docker/Dockerfile.buildx @@ -29,7 +29,7 @@ ENV LD_LIBRARY_PATH /lib WORKDIR /src/server -RUN apk add --no-cache --virtual .build-deps make gcc g++ python3 py3-setuptools git libffi-dev linux-headers \ +RUN apk add --no-cache --virtual .build-deps make gcc g++ python3 py3-setuptools git libffi-dev linux-headers libc6-compat \ && npm ci --unsafe-perm --production \ && npm cache clean --force \ && apk del .build-deps