mirror of
https://github.com/project-zot/zot.git
synced 2025-01-27 23:01:43 -05:00
stacker builds: use a different base image
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
parent
0eed4fbed2
commit
058bbb94c6
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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: |
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue