From 510a1f5894e3b83a3285ea216f5135b145019aa0 Mon Sep 17 00:00:00 2001 From: Lorenzo Felletti Date: Fri, 24 Jul 2026 11:15:25 +0100 Subject: [PATCH] fix: set CUE_CACHE_DIR to avoid issues when CUE needs to use the cache --- Containerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Containerfile b/Containerfile index bccbdb6..6445871 100644 --- a/Containerfile +++ b/Containerfile @@ -21,6 +21,8 @@ RUN CGO_ENABLED=0 GOOS="$GOOS" GOARCH="$GOARCH" go build -ldflags "$LDFLAGS" -o FROM gcr.io/distroless/static:latest +ENV CUE_CACHE_DIR=/tmp/cue-cache + COPY --from=builder /workspace/cuestomize /usr/local/bin/cuestomize ENTRYPOINT ["/usr/local/bin/cuestomize"]