Skip to content

Commit 8ea9d01

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 <[email protected]>
1 parent aee2d31 commit 8ea9d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FROM base AS build
1717
RUN --mount=target=. \
1818
--mount=type=cache,target=/go/pkg/mod \
1919
--mount=type=cache,target=/root/.cache/go-build \
20-
CGO_ENABLED=0 go build -trimpath -ldflags '-s -w' -o /icingadb ./cmd/icingadb/main.go
20+
CGO_ENABLED=0 go build -trimpath -ldflags '-s -w' -o /icingadb ./cmd/icingadb
2121

2222
FROM scratch
2323

0 commit comments

Comments
 (0)