From 2de83f3bfa58905f273f2d3c2210572e41256590 Mon Sep 17 00:00:00 2001 From: Steve Kirkland-Walton Date: Mon, 18 Sep 2023 14:06:10 +0100 Subject: [PATCH 1/2] Move bootstrap --- dockerfiles/Dockerfile.ci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfiles/Dockerfile.ci b/dockerfiles/Dockerfile.ci index ea9eb0a447..2c44d4bed5 100644 --- a/dockerfiles/Dockerfile.ci +++ b/dockerfiles/Dockerfile.ci @@ -11,8 +11,8 @@ RUN npm install --unsafe-perm COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./ ADD min_packages.tar . COPY bin ./bin -RUN npx lerna bootstrap COPY scripts ./scripts COPY test ./test COPY packages ./packages +RUN npx lerna bootstrap RUN npm run build From 89ae77525f3ce4e6d5cecd786a55f05ed3cff1d1 Mon Sep 17 00:00:00 2001 From: Steve Kirkland-Walton Date: Tue, 19 Sep 2023 08:09:55 +0100 Subject: [PATCH 2/2] Bootstrap after copying packages into containers --- dockerfiles/Dockerfile.browser | 2 +- dockerfiles/Dockerfile.node | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfiles/Dockerfile.browser b/dockerfiles/Dockerfile.browser index 3eacfbc43f..d8cdc6737e 100644 --- a/dockerfiles/Dockerfile.browser +++ b/dockerfiles/Dockerfile.browser @@ -11,8 +11,8 @@ RUN npm install COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./ ADD min_packages.tar . COPY bin ./bin -RUN npx lerna bootstrap COPY packages ./packages +RUN npx lerna bootstrap RUN npm run build RUN npm pack --verbose packages/js/ diff --git a/dockerfiles/Dockerfile.node b/dockerfiles/Dockerfile.node index eb25763019..d273244d26 100644 --- a/dockerfiles/Dockerfile.node +++ b/dockerfiles/Dockerfile.node @@ -11,8 +11,8 @@ RUN npm install COPY babel.config.js lerna.json .eslintignore .eslintrc.js jest.config.js tsconfig.json ./ ADD min_packages.tar . COPY bin ./bin -RUN npx lerna bootstrap COPY packages ./packages +RUN npx lerna bootstrap RUN npm run build RUN npm pack --verbose packages/node/