adding '\' to the Dockerfile nginx statement
This commit is contained in:
parent
e779bf96ab
commit
57918b69a7
|
@ -9,7 +9,7 @@ ADD nginx.conf /etc/nginx/
|
||||||
ARG CHANGE_SOURCE=false
|
ARG CHANGE_SOURCE=false
|
||||||
RUN if [ ${CHANGE_SOURCE} = true ]; then \
|
RUN if [ ${CHANGE_SOURCE} = true ]; then \
|
||||||
# Change application source from dl-cdn.alpinelinux.org to aliyun source
|
# Change application source from dl-cdn.alpinelinux.org to aliyun source
|
||||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
|
|
Loading…
Reference in New Issue