Skip to content

Commit d1ef2d6

Browse files
committed
fix rm failure
1 parent 646622a commit d1ef2d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stable/alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM alpine:3.4
33
MAINTAINER Wang Shaobo <[email protected]>
44

55
ENV LANG en_US.UTF-8
6-
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
6+
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
77

88
ENV NGINX_VERSION 1.10.2
99
ENV NGX_DEVEL_KIT_VERSION 0.3.0
@@ -118,8 +118,8 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
118118
&& rm -rf /usr/src/nginx-$NGINX_VERSION \
119119
&& rm -f /tmp/ndk.tar.gz \
120120
&& rm -f /tmp/lua-nginx.tar.gz \
121-
&& rm -f /tmp/ngx_devel_kit-${NGX_DEVEL_KIT_VERSION} \
122-
&& rm -f /tmp/lua-nginx-module-${LUA_NGINX_MODULE_VERSION} \
121+
&& rm -rf /tmp/ngx_devel_kit-${NGX_DEVEL_KIT_VERSION} \
122+
&& rm -rf /tmp/lua-nginx-module-${LUA_NGINX_MODULE_VERSION} \
123123
\
124124
# Bring in gettext so we can get `envsubst`, then throw
125125
# the rest away. To do this, we need to install `gettext`

0 commit comments

Comments
 (0)