浏览代码

Dockerfile updated

Espinoza Guillermo 6 年之前
父节点
当前提交
d9a1d5e613
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      genieacs-base/Dockerfile

+ 1 - 2
genieacs-base/Dockerfile

@@ -8,7 +8,6 @@ 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 adriancooney/libxmljs ; \
-    npm install --build-from-resource ; \
+    npm install --build-from-resource --unsafe-perm; \
     npm run compile; \
     npm run compile; \
     rm -rf /var/lib/apt/lists/*
     rm -rf /var/lib/apt/lists/*