Fixup for GLIBC.

This commit is contained in:
Werner Beroux 2020-07-29 19:21:01 +02:00
parent a94a16bf39
commit 8336201409
1 changed files with 7 additions and 7 deletions

View File

@ -4,15 +4,15 @@ MAINTAINER Werner Beroux <werner@beroux.com>
# https://github.com/sgerrand/alpine-pkg-glibc # https://github.com/sgerrand/alpine-pkg-glibc
ARG GLIBC_VERSION=2.31-r0 ARG GLIBC_VERSION=2.31-r0
RUN set -x && \ RUN set -x \
apk add --no-cache -t .deps ca-certificates && \ && apk add --no-cache -t .deps ca-certificates \
# Install glibc on Alpine (required by docker-compose) # Install glibc on Alpine (required by docker-compose)
# See also https://github.com/gliderlabs/docker-alpine/issues/11 # See also https://github.com/gliderlabs/docker-alpine/issues/11
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \ && 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/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk && \ && wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk \
apk add glibc-2.29-r0.apk && \ && apk add glibc-${GLIBC_VERSION}.apk \
rm glibc-2.29-r0.apk && \ && rm glibc-${GLIBC_VERSION}.apk \
apk del --purge .deps && apk del --purge .deps
RUN set -x \ RUN set -x \
# Install ngrok (latest official stable from https://ngrok.com/download). # Install ngrok (latest official stable from https://ngrok.com/download).