mirror of https://github.com/status-im/consul.git
Merge pull request #4272 from hashicorp/bugfix/fix-ui-build
Add a npm configuration
This commit is contained in:
commit
f51f7aa028
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue