0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00

build: fix base image in stacker files

Revert 058bbb94c6
Use alpine:3

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani 2022-05-20 16:52:28 +00:00 committed by Ramkumar Chinchani
parent 7c477f5ba3
commit 32afe712d6
4 changed files with 4 additions and 4 deletions

View file

@ -38,7 +38,7 @@ build:
"${{REPO_NAME:zot}}": "${{REPO_NAME:zot}}":
from: from:
type: docker type: docker
url: docker://gcr.io/distroless/base url: docker://alpine:3
import: import:
- stacker://build/go/src/github.com/project-zot/zot/bin/zot-${{OS}}-${{ARCH}} - stacker://build/go/src/github.com/project-zot/zot/bin/zot-${{OS}}-${{ARCH}}
- stacker://build/go/src/github.com/project-zot/zot/config.json - stacker://build/go/src/github.com/project-zot/zot/config.json

View file

@ -19,7 +19,7 @@ build:
"${{REPO_NAME:zb}}": "${{REPO_NAME:zb}}":
from: from:
type: docker type: docker
url: docker://gcr.io/distroless/base url: docker://alpine:3
import: import:
- stacker://build/go/src/github.com/project-zot/zot/bin/zb-${{OS}}-${{ARCH}} - stacker://build/go/src/github.com/project-zot/zot/bin/zb-${{OS}}-${{ARCH}}
run: | run: |

View file

@ -37,7 +37,7 @@ build:
"${{REPO_NAME:zxp}}": "${{REPO_NAME:zxp}}":
from: from:
type: docker type: docker
url: docker://gcr.io/distroless/base url: docker://alpine:3
import: import:
- stacker://build/go/src/github.com/project-zot/zot/bin/zxp-${{OS}}-${{ARCH}} - stacker://build/go/src/github.com/project-zot/zot/bin/zxp-${{OS}}-${{ARCH}}
- stacker://build/go/src/github.com/project-zot/zot/config.json - stacker://build/go/src/github.com/project-zot/zot/config.json

View file

@ -36,7 +36,7 @@ build:
"${{REPO_NAME:zot}}": "${{REPO_NAME:zot}}":
from: from:
type: docker type: docker
url: docker://gcr.io/distroless/base url: docker://alpine:3
import: import:
- stacker://build/go/src/github.com/project-zot/zot/bin/zot-${{OS}}-${{ARCH}}${{EXT:}} - 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 - stacker://build/go/src/github.com/project-zot/zot/config.json