From 88b80895ffebe2323be3e629c18af7fe02583f31 Mon Sep 17 00:00:00 2001 From: Werner Beroux Date: Wed, 29 Jul 2020 16:14:19 +0200 Subject: [PATCH] Upgrades LIBC. See also #53. --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87508e7..6107312 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,15 @@ FROM alpine:3.12 MAINTAINER Werner Beroux +# 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