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 f51f7aa028
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