This commit is contained in:
6543 2023-04-18 19:21:52 +02:00
parent daf524d89d
commit 51830e7a1a
No known key found for this signature in database
GPG Key ID: B8BE6D610E61C862
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ ARG TARGETOS TARGETARCH
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=1 \
/build.sh -race -tags='sqlite sqlite_unlock_notify netgo' -ldflags='-s -w -extldflags "-static" -linkmode external' .
/build.sh -tags='sqlite sqlite_unlock_notify netgo' -ldflags='-s -w -extldflags "-static" -linkmode external' .
# Use a scratch image as the base image for the final container,
# which will contain only the built binary and the CA certificates