File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22# An elaborated scheme to build all the dependencies of all packages first in a cached layer
33# https://stackoverflow.com/a/63142468/134409
44# https://medium.com/@emilefugulin/building-a-sane-docker-image-for-typescript-lerna-and-prisma-2-76d8ff9926e4
5- FROM node:20 -bookworm-slim@sha256:21de73d5da2d7df0261d1889d74f0e8052997ee67d5fcfb49c32c86cf7d0dd50 AS filter-packages-json
5+ FROM node:22.16.0 -bookworm-slim@sha256:2f3571619daafc6b53232ebf2fcc0817c1e64795e92de317c1684a915d13f1a5 AS filter-packages-json
66LABEL maintainer=
"Developer Relations <[email protected] >" 77
88COPY package.json yarn.lock lerna.json ./
@@ -12,7 +12,7 @@ COPY modules ./modules
1212# delete all the non package.json files under `./modules/`
1313RUN find modules \! -name "package.json" -mindepth 2 -maxdepth 2 -print | xargs rm -rf
1414
15- FROM node:20 -bookworm-slim@sha256:21de73d5da2d7df0261d1889d74f0e8052997ee67d5fcfb49c32c86cf7d0dd50 AS builder
15+ FROM node:22.16.0 -bookworm-slim@sha256:2f3571619daafc6b53232ebf2fcc0817c1e64795e92de317c1684a915d13f1a5 AS builder
1616RUN apt-get update && apt-get install -y git python3 make g++ libtool autoconf automake
1717WORKDIR /tmp/bitgo
1818COPY --from=filter-packages-json /tmp/bitgo .
3131 rm -r modules/*/src
3232
3333
34- FROM node:20 -bookworm-slim@sha256:21de73d5da2d7df0261d1889d74f0e8052997ee67d5fcfb49c32c86cf7d0dd50
34+ FROM node:22.16.0 -bookworm-slim@sha256:2f3571619daafc6b53232ebf2fcc0817c1e64795e92de317c1684a915d13f1a5
3535RUN apt-get update && apt-get install -y tini
3636# copy the root node_modules to the bitgo-express parent node_modules
3737COPY --from=builder /tmp/bitgo/node_modules /var/node_modules/
You can’t perform that action at this time.
0 commit comments