Explorar o código

Dockerfile updated

Espinoza Guillermo %!s(int64=6) %!d(string=hai) anos
pai
achega
f908620ea8
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      genieacs-base/Dockerfile

+ 4 - 4
genieacs-base/Dockerfile

@@ -8,9 +8,9 @@ RUN cd /opt; \
     git clone https://github.com/genieacs/genieacs.git; \
     git clone https://github.com/genieacs/genieacs.git; \
     cd genieacs; \
     cd genieacs; \
     git checkout $(git tag -l v1.1.* --sort=-v:refname | head -n 1) ; \
     git checkout $(git tag -l v1.1.* --sort=-v:refname | head -n 1) ; \
-    npm install -g libxmljs ; \
-    npm install -g node-gyp ; \
-    npm install -g nodejs-legacy ; \
-    npm install --build-from-resource --unsafe-perm; \
+    npm install -g --unsafe-perm=true libxmljs ; \
+    npm install -g --unsafe-perm=true node-gyp ; \
+    npm install -g --unsafe-perm=true nodejs-legacy ; \
+    npm install --build-from-resource --unsafe-perm=true; \
     npm run compile; \
     npm run compile; \
     rm -rf /var/lib/apt/lists/*
     rm -rf /var/lib/apt/lists/*