Sfoglia il codice sorgente

Dockerfile updated

Espinoza Guillermo 6 anni fa
parent
commit
f908620ea8
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  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; \
     cd genieacs; \
     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; \
     rm -rf /var/lib/apt/lists/*