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
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ ADD nginx.conf /etc/nginx/
ARG CHANGE_SOURCE=false
RUN if [ ${CHANGE_SOURCE} = true ]; then \
# 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
RUN apk update \