From 6277679240e3e39cdbc42bcd54c4ab701b25f950 Mon Sep 17 00:00:00 2001 From: Gavin Jefferies Date: Tue, 11 Jun 2024 19:46:13 -0700 Subject: [PATCH] scanner! --- Makefile | 1 + images/scanner-build.Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 66eb8944..329da78b 100644 --- a/Makefile +++ b/Makefile @@ -48,6 +48,7 @@ collector-image: scanner-build-image: $(DOCKER) build \ -t quay.io/$(QUAY_REPO)/apollo-ci:$(shell scripts/get_tag.sh "scanner-build") \ + --build-arg STACKROX_CENTOS_TAG=$(STACKROX_CENTOS_TAG) \ -f images/scanner-build.Dockerfile \ images/ diff --git a/images/scanner-build.Dockerfile b/images/scanner-build.Dockerfile index 493db4e5..2a70ecef 100644 --- a/images/scanner-build.Dockerfile +++ b/images/scanner-build.Dockerfile @@ -1,6 +1,7 @@ # Provides the tooling required to run Scanner dockerized build targets. -FROM quay.io/centos/centos:stream8 +ARG STACKROX_CENTOS_TAG +FROM quay.io/centos/centos:${STACKROX_CENTOS_TAG} as base SHELL ["/bin/bash", "-o", "pipefail", "-c"]