File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
FROM alpine:3.8
2
-
3
- LABEL maintainer=
"Elisiano Petrini <[email protected] >"
2
+ MAINTAINER JulianWang <
[email protected] >
4
3
5
4
ENV NGINX_VERSION 1.15.3
6
5
6
+ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
7
7
RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
8
8
&& CONFIG="\
9
9
--prefix=/etc/nginx \
@@ -94,7 +94,7 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
94
94
pgp.mit.edu \
95
95
; do \
96
96
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; \
98
98
done; \
99
99
test -z "$found" && echo >&2 "error: failed to fetch GPG key $GPG_KEYS" && exit 1; \
100
100
gpg --batch --verify nginx.tar.gz.asc nginx.tar.gz \
You can’t perform that action at this time.
0 commit comments