From 5a0e6cefd2588977d03ae7b5421a98565e4994e9 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 666a1369c..623a24ff1 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