From a5c93b0ee58c3e2d4fd8e664d1b27e1aaccc8f3f Mon Sep 17 00:00:00 2001 From: Pierre-Gilles Leymarie Date: Fri, 2 Aug 2024 13:58:59 +0200 Subject: [PATCH] Add gcompat --- docker/Dockerfile | 2 +- docker/Dockerfile.buildx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 98d88f0237..04b1e09a4d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -11,7 +11,7 @@ LABEL \ COPY qemu-* /usr/bin/ # System dependencies -RUN apk add --no-cache tzdata nmap ffmpeg sqlite openssl gzip eudev +RUN apk add --no-cache tzdata nmap ffmpeg sqlite openssl gzip eudev libc6-compat gcompat WORKDIR /tmp diff --git a/docker/Dockerfile.buildx b/docker/Dockerfile.buildx index 271b5622da..f751cbeb45 100644 --- a/docker/Dockerfile.buildx +++ b/docker/Dockerfile.buildx @@ -21,6 +21,8 @@ RUN apk add --no-cache \ openssl \ gzip \ eudev \ + libc6-compat \ + gcompat \ bluez COPY --from=json-files /json-files/server /src/server @@ -29,7 +31,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 libc6-compat \ +RUN apk add --no-cache --virtual .build-deps make gcc g++ python3 py3-setuptools git libffi-dev linux-headers \ && npm ci --unsafe-perm --production \ && npm cache clean --force \ && apk del .build-deps