Merge pull request #4272 from hashicorp/bugfix/fix-ui-build

Add a npm configuration
This commit is contained in:
Matt Keeler 2018-06-25 11:31:57 -04:00 committed by GitHub
commit 9b0705d25a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@ ARG YARN_VERSION=1.7.0
RUN apk update && \
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} && \
mkdir /consul-src