Upgrades LIBC.

See also #53.
This commit is contained in:
Werner Beroux 2020-07-29 16:14:19 +02:00
parent ce6799c1a1
commit 88b80895ff
1 changed files with 5 additions and 3 deletions

View File

@ -1,13 +1,15 @@
FROM alpine:3.12
MAINTAINER Werner Beroux <werner@beroux.com>
# https://github.com/sgerrand/alpine-pkg-glibc
ARG GLIBC_VERSION=2.31-r0
RUN set -x && \
apk add --no-cache -t .deps ca-certificates && \
# Install glibc on Alpine (required by docker-compose) from
# https://github.com/sgerrand/alpine-pkg-glibc
# Install glibc on Alpine (required by docker-compose)
# 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 https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.29-r0/glibc-2.29-r0.apk && \
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk && \
apk add glibc-2.29-r0.apk && \
rm glibc-2.29-r0.apk && \
apk del --purge .deps