Explorar el Código

adding '\' to the Dockerfile nginx statement

Ennio Simões hace 7 años
padre
commit
57918b69a7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      nginx/Dockerfile

+ 1 - 1
nginx/Dockerfile

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