From f57c915b64a9b388faa75edfd81a5d70d67454ee Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Mon, 2 Mar 2026 09:44:27 +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 de32889..e4f6e5a 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 /