Merge pull request #107 from docker/sec-cli/npm-ci-20260615-142203

fix: replace npm install with npm ci (20260615-142203)
This commit is contained in:
Alexandre Vallières-Lagacé
2026-06-15 11:53:25 -04:00
committed by GitHub
+1 -1
View File
@@ -17,7 +17,7 @@ FROM base AS deps
RUN --mount=type=bind,target=.,rw \
--mount=type=cache,target=/src/.yarn/cache \
--mount=type=cache,target=/src/node_modules \
yarn install && mkdir /vendor && cp yarn.lock /vendor
yarn install --immutable && mkdir /vendor && cp yarn.lock /vendor
FROM scratch AS vendor-update
COPY --from=deps /vendor /