Skip to content

Commit c2b9fb3

Browse files
Merge pull request #16 from jesims/unsafe-perm
unsafe-perm
2 parents 9602ebf + c888581 commit c2b9fb3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ RUN git clone -b master https://github.com/jesims/circleci-tools.git \
8585
ENV PATH=$PATH:/tmp/circleci-tools/
8686
RUN node -v > .node_version
8787

88-
CMD ["bash"]
88+
#Bug in npm on AWS's Hyperv virtualization on M5 instances https://github.com/nodejs/docker-node/issues/813
89+
CMD npm config set unsafe-perm true
8990

9091
#TODO don't run as root
92+
93+
CMD ["bash"]

0 commit comments

Comments
 (0)