diff --git a/packages/cp-frontend/Dockerfile b/packages/cp-frontend/Dockerfile index e415f0d9..96f99d04 100644 --- a/packages/cp-frontend/Dockerfile +++ b/packages/cp-frontend/Dockerfile @@ -2,7 +2,8 @@ FROM quay.io/yldio/alpine-node-containerpilot:latest ENV CONTAINERPILOT /etc/containerpilot.json5 -RUN yarn add lerna@^2.0.0-rc.5 serve \ +RUN npm install -g npm@^4 \ + && yarn add lerna@^2.0.0-rc.5 serve \ && ./node_modules/.bin/lerna clean --yes --scope joyent-cp-frontend --include-filtered-dependencies \ && ./node_modules/.bin/lerna bootstrap --scope joyent-cp-frontend --include-filtered-dependencies diff --git a/packages/cp-gql-mock-server/Dockerfile b/packages/cp-gql-mock-server/Dockerfile index f210a6b7..553160d5 100644 --- a/packages/cp-gql-mock-server/Dockerfile +++ b/packages/cp-gql-mock-server/Dockerfile @@ -2,7 +2,8 @@ FROM quay.io/yldio/alpine-node-containerpilot:latest ENV CONTAINERPILOT /etc/containerpilot.json5 -RUN yarn add lerna@^2.0.0-rc.5 serve \ +RUN npm install -g npm@^4 \ + && yarn add lerna@^2.0.0-rc.5 serve \ && ./node_modules/.bin/lerna clean --yes --scope joyent-cp-gql-mock-server --include-filtered-dependencies \ && ./node_modules/.bin/lerna bootstrap --scope joyent-cp-gql-mock-server --include-filtered-dependencies diff --git a/packages/portal-api/Dockerfile b/packages/portal-api/Dockerfile index a3bf6838..336e71ed 100644 --- a/packages/portal-api/Dockerfile +++ b/packages/portal-api/Dockerfile @@ -7,7 +7,8 @@ RUN set -x \ && apk add curl bash build-base python zeromq-dev \ && rm -rf /var/cache/apk/* -RUN yarn add lerna@^2.0.0-rc.5 \ +RUN npm install -g npm@^4 \ + && yarn add lerna@^2.0.0-rc.5 \ && ./node_modules/.bin/lerna clean --yes --scope portal-api --include-filtered-dependencies \ && ./node_modules/.bin/lerna bootstrap --scope portal-api --include-filtered-dependencies diff --git a/packages/ui-toolkit/Dockerfile b/packages/ui-toolkit/Dockerfile index 4f8ca206..08685b87 100644 --- a/packages/ui-toolkit/Dockerfile +++ b/packages/ui-toolkit/Dockerfile @@ -2,7 +2,8 @@ FROM quay.io/yldio/alpine-node-containerpilot:latest ENV CONTAINERPILOT /etc/containerpilot.json5 -RUN yarn add lerna@^2.0.0-rc.5 serve \ +RUN npm install -g npm@^4 \ + && yarn add lerna@^2.0.0-rc.5 serve \ && ./node_modules/.bin/lerna clean --yes --scope joyent-ui-toolkit --include-filtered-dependencies \ && ./node_modules/.bin/lerna bootstrap --scope joyent-ui-toolkit --include-filtered-dependencies