File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11FROM alpine:3.8
2-
3- LABEL maintainer="Elisiano Petrini <elisiano@gmail.com>"
2+ MAINTAINER JulianWang <traceflight@outlook.com>
43
54ENV NGINX_VERSION 1.15.3
65
6+ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
77RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
88 && CONFIG="\
99 --prefix=/etc/nginx \
@@ -94,7 +94,7 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
9494 pgp.mit.edu \
9595 ; do \
9696 echo "Fetching GPG key $GPG_KEYS from $server" ; \
97- gpg --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$GPG_KEYS" && found=yes && break; \
97+ gpg --keyserver "$server" --keyserver-options timeout=20 --recv-keys "$GPG_KEYS" && found=yes && break; \
9898 done; \
9999 test -z "$found" && echo >&2 "error: failed to fetch GPG key $GPG_KEYS" && exit 1; \
100100 gpg --batch --verify nginx.tar.gz.asc nginx.tar.gz \
You can’t perform that action at this time.
0 commit comments