adding '\' to the Dockerfile nginx statement

This commit is contained in:
Ennio Simões 2017-11-26 17:30:32 -02:00
parent e779bf96ab
commit 57918b69a7

View File

@ -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 \