mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
build: fix docker build
Update Dockerfile and Makefile to build a zot docker image
This commit is contained in:
@@ -52,9 +52,12 @@ run: binary test
|
||||
|
||||
.PHONY: binary-container
|
||||
binary-container:
|
||||
${CONTAINER_RUNTIME} build ${BUILD_ARGS} -f Dockerfile.build -t zot-build:latest .
|
||||
${CONTAINER_RUNTIME} build ${BUILD_ARGS} -f Dockerfile -t zot-build:latest .
|
||||
|
||||
.PHONY: run-container
|
||||
run-container:
|
||||
${CONTAINER_RUNTIME} run --rm --security-opt label=disable -v $$(pwd):/go/src/github.com/anuvu/zot \
|
||||
zot-build:latest make
|
||||
zot-build:latest
|
||||
|
||||
.PHONY: binary-stacker
|
||||
binary-stacker:
|
||||
|
||||
Reference in New Issue
Block a user