From f99f3f7b1a9f1d4b155d4cfd46177bc6ef1a529a Mon Sep 17 00:00:00 2001 From: Matt Keeler Date: Mon, 25 Jun 2018 11:27:10 -0400 Subject: [PATCH] Add a npm configuration This is only necessary when dockerd is running on ubuntu and I dont know why it matters. --- build-support/docker/Build-UI.dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/build-support/docker/Build-UI.dockerfile b/build-support/docker/Build-UI.dockerfile index 666a1369cb..623a24ff16 100644 --- a/build-support/docker/Build-UI.dockerfile +++ b/build-support/docker/Build-UI.dockerfile @@ -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