Enable unsafe-perm option for npm
Otherwise it doesn't work properly when running as root in docker container
This commit is contained in:
@@ -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
1
concourse/docker/npmrc
Normal file
@@ -0,0 +1 @@
|
||||
unsafe-perm=true
|
||||
Reference in New Issue
Block a user