1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 23:30:05 +02:00

build: force npm^4

This commit is contained in:
Sérgio Ramos 2017-06-20 15:52:09 +01:00
parent 76ee6b66ed
commit 914dbca77f
4 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,8 @@ FROM quay.io/yldio/alpine-node-containerpilot:latest
ENV CONTAINERPILOT /etc/containerpilot.json5 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 clean --yes --scope joyent-cp-frontend --include-filtered-dependencies \
&& ./node_modules/.bin/lerna bootstrap --scope joyent-cp-frontend --include-filtered-dependencies && ./node_modules/.bin/lerna bootstrap --scope joyent-cp-frontend --include-filtered-dependencies

View File

@ -2,7 +2,8 @@ FROM quay.io/yldio/alpine-node-containerpilot:latest
ENV CONTAINERPILOT /etc/containerpilot.json5 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 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 && ./node_modules/.bin/lerna bootstrap --scope joyent-cp-gql-mock-server --include-filtered-dependencies

View File

@ -7,7 +7,8 @@ RUN set -x \
&& apk add curl bash build-base python zeromq-dev \ && apk add curl bash build-base python zeromq-dev \
&& rm -rf /var/cache/apk/* && 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 clean --yes --scope portal-api --include-filtered-dependencies \
&& ./node_modules/.bin/lerna bootstrap --scope portal-api --include-filtered-dependencies && ./node_modules/.bin/lerna bootstrap --scope portal-api --include-filtered-dependencies

View File

@ -2,7 +2,8 @@ FROM quay.io/yldio/alpine-node-containerpilot:latest
ENV CONTAINERPILOT /etc/containerpilot.json5 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 clean --yes --scope joyent-ui-toolkit --include-filtered-dependencies \
&& ./node_modules/.bin/lerna bootstrap --scope joyent-ui-toolkit --include-filtered-dependencies && ./node_modules/.bin/lerna bootstrap --scope joyent-ui-toolkit --include-filtered-dependencies