From 359a9a48e577f12ed00b2fc8eaed53dc352624e2 Mon Sep 17 00:00:00 2001 From: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Date: Thu, 29 Aug 2024 10:12:22 -0600 Subject: [PATCH] fix aio image from running with sslmode psql Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> --- docker/all-in-one/Dockerfile.all-in-one | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/all-in-one/Dockerfile.all-in-one b/docker/all-in-one/Dockerfile.all-in-one index 3b7771c7..5c83fccd 100644 --- a/docker/all-in-one/Dockerfile.all-in-one +++ b/docker/all-in-one/Dockerfile.all-in-one @@ -5,7 +5,7 @@ COPY . . RUN go mod download -RUN CGO_ENABLED=1 GOOS=linux go build -o /go/bin/core -a -ldflags '-linkmode external -extldflags "-static"' . +RUN CGO_ENABLED=1 GOOS=linux go build -o /go/bin/core -a -tags osusergo -ldflags '-linkmode external -extldflags "-static"' . FROM cgr.dev/chainguard/bash:latest