mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
build: support building inside a container using stacker
This commit is contained in:
@@ -42,3 +42,7 @@ binary-container:
|
||||
${CONTAINER_RUNTIME} build ${BUILD_ARGS} -f Dockerfile -t zot:latest .
|
||||
${CONTAINER_RUNTIME} run --rm --security-opt label=disable -v $$(pwd):/go/src/github.com/anuvu/zot \
|
||||
zot:latest make
|
||||
|
||||
.PHONY: binary-stacker
|
||||
binary-stacker:
|
||||
stacker build --substitute PWD=$$PWD --no-cache
|
||||
|
||||
Reference in New Issue
Block a user