From 14fe2ea9e200ce4d55a726f9f19fc2ee628e0735 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Mon, 2 Mar 2026 09:43:45 +0100 Subject: [PATCH] dockerfile: fix vendoring Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- dev.Dockerfile | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/dev.Dockerfile b/dev.Dockerfile index 18851d1..53f22d9 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -3,10 +3,11 @@ ARG NODE_VERSION=20 FROM node:${NODE_VERSION}-alpine AS base -RUN apk add --no-cache cpio findutils git +RUN apk add --no-cache cpio findutils git rsync WORKDIR /src RUN --mount=type=bind,target=.,rw \ --mount=type=cache,target=/src/.yarn/cache <&2 'ERROR: Build result differs. Please build first with "docker buildx bake build"' @@ -58,8 +68,7 @@ FROM deps AS format RUN --mount=type=bind,target=.,rw \ --mount=type=cache,target=/src/.yarn/cache \ --mount=type=cache,target=/src/node_modules \ - yarn run format \ - && mkdir /out && find . -name '*.ts' -not -path './node_modules/*' -not -path './.yarn/*' | cpio -pdm /out + yarn run format && mkdir /out && find . -name '*.ts' -not -path './node_modules/*' -not -path './.yarn/*' | cpio -pdm /out FROM scratch AS format-update COPY --from=format /out /