Skip to content

Commit

Permalink
fix: Avoid using alpine-pkg-glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinszuchet committed Jan 8, 2025
1 parent 7f08b6f commit 60ad282
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ RUN yarn install --prod --frozen-lockfile

FROM node:18-alpine

RUN apk update && apk add --no-cache wget tini curl && \
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r1/glibc-2.35-r1.apk && \
apk add --no-cache ./glibc-2.35-r1.apk && \
rm -f ./glibc-2.35-r1.apk && \
apk add --no-cache libstdc++ gcompat && \
RUN apk update && \
apk add --no-cache wget tini curl libstdc++ gcompat && \
rm -rf /var/cache/apk/*

# NODE_ENV is used to configure some runtime options, like JSON logger
Expand Down

0 comments on commit 60ad282

Please sign in to comment.