-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Eng Zer Jun <[email protected]>
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,13 +6,13 @@ ARG TARGETARCH | |
RUN CGO_ENABLED=0 \ | ||
GOOS=${TARGETOS} \ | ||
GOARCH=${TARGETARCH} \ | ||
go install -ldflags '-s -w -extldflags "-static"' github.com/googleapis/api-linter/cmd/[email protected].3 \ | ||
go install -ldflags '-s -w -extldflags "-static"' github.com/googleapis/api-linter/cmd/[email protected].4 \ | ||
&& find bin -name 'api-linter' -executable -exec cp -- "{}" /go/bin \; | ||
|
||
FROM alpine:3 | ||
|
||
LABEL org.opencontainers.image.source=https://github.com/docker-multiarch/google-api-linter | ||
LABEL org.opencontainers.image.version=v1.67.3 | ||
LABEL org.opencontainers.image.version=v1.67.4 | ||
|
||
COPY --from=builder /go/bin/api-linter /usr/local/bin | ||
|
||
|