制作alpine-glibc docker镜像
创建DockerfileFROM alpine:3.10RUN apk add --no-cache bash && \wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \wget https://...
·
创建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 .
更多推荐
已为社区贡献4条内容
所有评论(0)