From da9f0cd31d0fdb14181f10f0d8d6101e0f7d01be Mon Sep 17 00:00:00 2001 From: slothful-vassal <89943360+slothful-vassal@users.noreply.github.com> Date: Sat, 27 Jun 2026 11:26:14 +0200 Subject: [PATCH] fix missing tmp directory in docker image (#1069) --- db/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/Dockerfile b/db/Dockerfile index 02f2e8df..f05d7453 100644 --- a/db/Dockerfile +++ b/db/Dockerfile @@ -36,11 +36,13 @@ COPY . . RUN go mod download RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /app/pocketbase +RUN install -d -m 1777 /rootfs/tmp FROM scratch WORKDIR / +COPY --from=build /rootfs/ / COPY --from=build /app/pocketbase /pocketbase COPY --from=build /etc/ssl/certs /etc/ssl/certs COPY --from=download-env /tmp/curl /curl