Alpine-glibc dockerミラーの作成

542 ワード

Dockerfileの作成
FROM alpine:3.10

RUN apk add --no-cache bash && \
    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.30-r0/glibc-2.30-r0.apk && \
    apk add --no-cache glibc-2.30-r0.apk && \
    rm -rf glibc-2.30-r0.apk

ミラーの作成
docker build -t alpine-glibc:v1 .

 
最新版は次のように参照できます.https://github.com/sgerrand/alpine-pkg-glibc