Skip to content

Commit 874a95b

Browse files
committed
build for amd64
1 parent 8dc2a35 commit 874a95b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ build: tidy ## Builds CLI binary
6363
.PHONY: image
6464
image: ## Builds container image
6565
docker build \
66+
--platform linux/amd64 \
6667
-t us-west1-docker.pkg.dev/cloudy-build/vulctl/vulctl:$(RELEASE_VERSION) \
6768
-t us-west1-docker.pkg.dev/cloudy-build/vulctl/vulctl:latest \
6869
-f internal/cmd/Dockerfile \

internal/cmd/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ RUN CGO_ENABLED=0 go build -trimpath -ldflags="\
1616

1717
FROM cgr.dev/chainguard/bash:latest
1818
COPY --from=builder /src/vulctl /bin/vulctl
19-
ENTRYPOINT ["/bin/bash", "-l", "-c"]
19+
ENTRYPOINT ["/bin/vulctl"]

0 commit comments

Comments
 (0)