mirror of https://github.com/hashicorp/consul
Add a npm configuration
This is only necessary when dockerd is running on ubuntu and I dont know why it matters.pull/4272/head
parent
40886b52ed
commit
f99f3f7b1a
|
@ -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