Enable unsafe-perm option for npm

Otherwise it doesn't work properly when running as root in docker container
This commit is contained in:
Kris De Volder
2016-11-18 16:11:19 -08:00
parent 8b0d633c3a
commit 60fa621fd9
2 changed files with 3 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
FROM ubuntu:16.04
ADD npmrc /root/.npmrc
RUN apt-get update && apt-get install -y \
build-essential \
git \

1
concourse/docker/npmrc Normal file
View File

@@ -0,0 +1 @@
unsafe-perm=true