File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ BUILD_IMAGE := $(DEFAULT_IMAGE_REGISTRY)/apollo-ci:$(BUILD_IMAGE_VERSION)
34
34
35
35
ifeq ($(shell uname -ms) ,Darwin arm64)
36
36
# TODO(ROX-12064) build these images in the CI pipeline
37
- BUILD_IMAGE = quay.io/rhacs-eng/sandbox:apollo-ci-scanner-build-0.3.44-arm64
37
+ # Uncomment the line below to enable native arm64 builder images
38
+ # BUILD_IMAGE = quay.io/rhacs-eng/sandbox:apollo-ci-stackrox-build-0.3.49-arm64
38
39
ARCH := aarch64
39
40
GOARCH := arm64
40
41
else
44
45
45
46
LOCAL_VOLUME_ARGS := -v$(CURDIR ) :/src:delegated -v $(GOPATH ) :/go:delegated
46
47
GOPATH_WD_OVERRIDES := -w /src -e GOPATH=/go
47
- IMAGE_BUILD_FLAGS := -e CGO_ENABLED=0, GOOS=linux, GOARCH=${GOARCH}
48
+ IMAGE_BUILD_FLAGS := -e CGO_ENABLED=0 -e GOOS=linux -e GOARCH=${GOARCH}
48
49
BUILD_FLAGS := CGO_ENABLED=0 GOOS=linux GOARCH=${GOARCH}
49
50
BUILD_CMD := go build -trimpath -ldflags="-X github.com/stackrox/scanner/pkg/version.Version=$(TAG ) " -o image/scanner/bin/scanner ./cmd/clair
50
51
You can’t perform that action at this time.
0 commit comments