Skip to content

Commit 4dd9d1c

Browse files
committed
remove china mirrors repos
1 parent a0610c4 commit 4dd9d1c

3 files changed

Lines changed: 11 additions & 7 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ ARG WITH_PURGE=true
2424
ARG WITH_UPSTREAM_CHECK=true
2525

2626
#china mirrors repos
27-
RUN echo "https://mirrors.ustc.edu.cn/alpine/latest-stable/main" > /etc/apk/repositories \
28-
&& echo "https://mirrors.ustc.edu.cn/alpine/latest-stable/community" >> /etc/apk/repositories
27+
# RUN echo "https://mirrors.ustc.edu.cn/alpine/latest-stable/main" > /etc/apk/repositories \
28+
# && echo "https://mirrors.ustc.edu.cn/alpine/latest-stable/community" >> /etc/apk/repositories
2929

3030
RUN mkdir -p \
3131
${NGINX_SETUP_DIR} \
@@ -111,7 +111,6 @@ for server in \
111111
done; \
112112
test -z "$found" && echo >&2 "error: failed to fetch GPG key $GPG_KEYS" && exit 1; \
113113
gpg --batch --verify "${NGINX_SETUP_DIR}/nginx.tar.gz.asc" "${NGINX_SETUP_DIR}/nginx.tar" \
114-
&& rm -r "$GNUPGHOME" "${NGINX_SETUP_DIR}/nginx.tar.gz.asc" \
115114

116115
#nginx_upstream_check_module patch
117116
&& if [[ ${WITH_UPSTREAM_CHECK} ]];then \

Dockerfile.lt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ LABEL description="lightweight nginx built from source" \
1818
ARG WITH_UPSTREAM_CHECK=true
1919

2020
#china mirrors repos
21-
RUN echo "https://mirrors.ustc.edu.cn/alpine/latest-stable/main" > /etc/apk/repositories \
22-
&& echo "https://mirrors.ustc.edu.cn/alpine/latest-stable/community" >> /etc/apk/repositories
21+
# RUN echo "https://mirrors.ustc.edu.cn/alpine/latest-stable/main" > /etc/apk/repositories \
22+
# && echo "https://mirrors.ustc.edu.cn/alpine/latest-stable/community" >> /etc/apk/repositories
2323

2424
RUN mkdir -p \
2525
${NGINX_SETUP_DIR} \
@@ -82,7 +82,6 @@ for server in \
8282
done; \
8383
test -z "$found" && echo >&2 "error: failed to fetch GPG key $GPG_KEYS" && exit 1; \
8484
gpg --batch --verify "${NGINX_SETUP_DIR}/nginx.tar.gz.asc" "${NGINX_SETUP_DIR}/nginx.tar" \
85-
&& rm -r "$GNUPGHOME" "${NGINX_SETUP_DIR}/nginx.tar.gz.asc" \
8685

8786
#nginx_upstream_check_module patch
8887
&& if [[ ${WITH_UPSTREAM_CHECK} ]];then \

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
[![Build Status](https://travis-ci.org/EsWork/docker-nginx.svg?branch=master)](https://travis-ci.org/EsWork/docker-nginx)
2-
[![](https://images.microbadger.com/badges/image/eswork/nginx.svg)](https://microbadger.com/images/eswork/nginx "Get your own image badge on microbadger.com")
2+
3+
Metadata from image ||
4+
-------- | :------------ |
5+
|[![](https://images.microbadger.com/badges/version/eswork/nginx.svg)](https://microbadger.com/images/eswork/nginx "Get your own version badge on microbadger.com")|[![](https://images.microbadger.com/badges/image/eswork/nginx.svg)](https://microbadger.com/images/eswork/nginx "Get your own image badge on microbadger.com")
6+
|[![](https://images.microbadger.com/badges/version/eswork/nginx:1.10.3.svg)](https://microbadger.com/images/eswork/nginx:1.10.3 "Get your own version badge on microbadger.com")|[![](https://images.microbadger.com/badges/image/eswork/nginx:1.10.3.svg)](https://microbadger.com/images/eswork/nginx:1.10.3 "Get your own image badge on microbadger.com")
7+
|[![](https://images.microbadger.com/badges/version/eswork/nginx:1.12.1.svg)](https://microbadger.com/images/eswork/nginx:1.12.1 "Get your own version badge on microbadger.com")|[![](https://images.microbadger.com/badges/image/eswork/nginx:1.12.1.svg)](https://microbadger.com/images/eswork/nginx:1.12.1 "Get your own image badge on microbadger.com")
8+
|[![](https://images.microbadger.com/badges/image/eswork/nginx:1.12.1-lt.svg)](https://microbadger.com/images/eswork/nginx:1.12.1 "Get your own image badge on microbadger.com")|[![](https://images.microbadger.com/badges/version/eswork/nginx:1.12.1-lt.svg)](https://microbadger.com/images/eswork/nginx:1.12.1-lt "Get your own version badge on microbadger.com")
39

410
## Supported tags and respective `Dockerfile` links
511

0 commit comments

Comments
 (0)