Skip to content

Commit a8e0a62

Browse files
oxzilippserd
authored andcommitted
Containerfile: Fix vcs info not stamped when listing .go files directly
See golang/go#51279 for reference. Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
1 parent e5b54d7 commit a8e0a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Containerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FROM base AS build
1818
RUN --mount=target=. \
1919
--mount=type=cache,target=/go/pkg/mod \
2020
--mount=type=cache,target=/root/.cache/go-build \
21-
CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags '-s -w' -o /icingadb ./cmd/icingadb/main.go
21+
CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags '-s -w' -o /icingadb ./cmd/icingadb
2222

2323
FROM scratch
2424

0 commit comments

Comments
 (0)