Skip to content

Commit

Permalink
Comment out glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
asafsb committed Jul 18, 2024
1 parent 21a7f69 commit 3604f1d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions env0/custom-image/spectral-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@ RUN aws --version

USER root

ARG GLIBC_VER=2.35-r1
RUN apk add --no-cache \
binutils \
groff \
&& curl -sL https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub -o /etc/apk/keys/sgerrand.rsa.pub \
&& curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-${GLIBC_VER}.apk \
&& curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-bin-${GLIBC_VER}.apk \
&& curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-i18n-${GLIBC_VER}.apk \
&& apk add --no-cache --force-overwrite \
glibc-${GLIBC_VER}.apk \
glibc-bin-${GLIBC_VER}.apk \
glibc-i18n-${GLIBC_VER}.apk \
&& /usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8 \
&& rm -rf \
glibc-*.apk \
/var/cache/apk/*
# ARG GLIBC_VER=2.35-r1
# RUN apk add --no-cache \
# binutils \
# groff \
# && curl -sL https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub -o /etc/apk/keys/sgerrand.rsa.pub \
# && curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-${GLIBC_VER}.apk \
# && curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-bin-${GLIBC_VER}.apk \
# && curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-i18n-${GLIBC_VER}.apk \
# && apk add --no-cache --force-overwrite \
# glibc-${GLIBC_VER}.apk \
# glibc-bin-${GLIBC_VER}.apk \
# glibc-i18n-${GLIBC_VER}.apk \
# && /usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8 \
# && rm -rf \
# glibc-*.apk \
# /var/cache/apk/*

ARG INFRACOST_VERSION=0.10.37
# Install infracost
Expand Down

0 comments on commit 3604f1d

Please sign in to comment.