From 058bbb94c68afbe3311e1c38bf094e5af7e79766 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Wed, 11 May 2022 18:09:25 +0000 Subject: [PATCH] stacker builds: use a different base image Signed-off-by: Ramkumar Chinchani --- stacker-conformance.yaml | 2 +- stacker-zb.yaml | 2 +- stacker-zxp.yaml | 2 +- stacker.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stacker-conformance.yaml b/stacker-conformance.yaml index 0c259801..500b4bff 100644 --- a/stacker-conformance.yaml +++ b/stacker-conformance.yaml @@ -38,7 +38,7 @@ build: "${{REPO_NAME:zot}}": from: type: docker - url: docker://centos:latest + url: docker://gcr.io/distroless/base import: - stacker://build/go/src/github.com/project-zot/zot/bin/zot-${{OS}}-${{ARCH}} - stacker://build/go/src/github.com/project-zot/zot/config.json diff --git a/stacker-zb.yaml b/stacker-zb.yaml index 4fa6ebfd..362e649f 100644 --- a/stacker-zb.yaml +++ b/stacker-zb.yaml @@ -19,7 +19,7 @@ build: "${{REPO_NAME:zb}}": from: type: docker - url: docker://centos:latest + url: docker://gcr.io/distroless/base import: - stacker://build/go/src/github.com/project-zot/zot/bin/zb-${{OS}}-${{ARCH}} run: | diff --git a/stacker-zxp.yaml b/stacker-zxp.yaml index e0d4e71a..d77d9b80 100644 --- a/stacker-zxp.yaml +++ b/stacker-zxp.yaml @@ -37,7 +37,7 @@ build: "${{REPO_NAME:zxp}}": from: type: docker - url: docker://centos:latest + url: docker://gcr.io/distroless/base import: - stacker://build/go/src/github.com/project-zot/zot/bin/zxp-${{OS}}-${{ARCH}} - stacker://build/go/src/github.com/project-zot/zot/config.json diff --git a/stacker.yaml b/stacker.yaml index d5f8b87d..b48746a3 100644 --- a/stacker.yaml +++ b/stacker.yaml @@ -36,7 +36,7 @@ build: "${{REPO_NAME:zot}}": from: type: docker - url: docker://centos:latest + url: docker://gcr.io/distroless/base import: - stacker://build/go/src/github.com/project-zot/zot/bin/zot-${{OS}}-${{ARCH}}${{EXT:}} - stacker://build/go/src/github.com/project-zot/zot/config.json