mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
fix stacker
(cherry picked from commit ba25daf02b4a9bc7ee1cb6f84b7a6b096ca7d61f)
This commit is contained in:
parent
97f1fc0f98
commit
220de354b2
3 changed files with 7 additions and 7 deletions
10
Makefile
10
Makefile
|
@ -246,11 +246,11 @@ run-container:
|
||||||
|
|
||||||
.PHONY: binary-stacker
|
.PHONY: binary-stacker
|
||||||
binary-stacker:
|
binary-stacker:
|
||||||
${STACKER} build \
|
${STACKER} --debug build \
|
||||||
--substitute COMMIT=$(PWD) \
|
--substitute PWD=$$PWD \
|
||||||
--substitute OS=$(OS) \
|
--substitute COMMIT=$$COMMIT \
|
||||||
--substitute ARCH=$(ARCH) \
|
--substitute ARCH=$$ARCH \
|
||||||
--substitute PWD=$(PWD)
|
--substitute OS=$$OS
|
||||||
|
|
||||||
.PHONY: image
|
.PHONY: image
|
||||||
image:
|
image:
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"rootDirectory": "/tmp/zot"
|
"rootDirectory": "/tmp/zot"
|
||||||
},
|
},
|
||||||
"http": {
|
"http": {
|
||||||
"address": "127.0.0.1",
|
"address": "0.0.0.0",
|
||||||
"port": "8080"
|
"port": "8080"
|
||||||
},
|
},
|
||||||
"log": {
|
"log": {
|
||||||
|
|
|
@ -41,7 +41,7 @@ build:
|
||||||
"${{REPO_NAME:zot}}":
|
"${{REPO_NAME:zot}}":
|
||||||
from:
|
from:
|
||||||
type: docker
|
type: docker
|
||||||
url: docker://gcr.io/distroless/base
|
url: docker://zothub.io/c3/base:jammy
|
||||||
overlay_dirs:
|
overlay_dirs:
|
||||||
- source: ./build/binary
|
- source: ./build/binary
|
||||||
dest: /usr/local/bin
|
dest: /usr/local/bin
|
||||||
|
|
Loading…
Reference in a new issue