Add a npm configuration

This is only necessary when dockerd is running on ubuntu and I dont know why it matters.
This commit is contained in:
Matt Keeler 2018-06-25 11:27:10 -04:00 committed by GitHub
parent f1b3b6967e
commit 5a0e6cefd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ ARG YARN_VERSION=1.7.0
RUN apk update && \ RUN apk update && \
apk add nodejs=${NODEJS_VERSION} nodejs-npm=${NODEJS_VERSION} make=${MAKE_VERSION} rsync && \ apk add nodejs=${NODEJS_VERSION} nodejs-npm=${NODEJS_VERSION} make=${MAKE_VERSION} rsync && \
npm config set unsafe-perm true && \
npm install --global yarn@${YARN_VERSION} && \ npm install --global yarn@${YARN_VERSION} && \
mkdir /consul-src mkdir /consul-src