2021-12-21 08:19:40 -05:00
|
|
|
CONTAINER_RUNTIME := docker
|
2021-10-15 10:05:00 -05:00
|
|
|
|
|
|
|
.PHONY: binary-container
|
|
|
|
binary-container:
|
|
|
|
${CONTAINER_RUNTIME} build -f Dockerfile -t zot-build:latest ../../.
|
|
|
|
|
|
|
|
.PHONY: run-container
|
|
|
|
run-container:
|
2021-12-03 22:50:58 -05:00
|
|
|
${CONTAINER_RUNTIME} run --rm --security-opt label=disable -v $$(pwd)/../..:/go/src/github.com/project-zot/zot \
|
2021-10-15 10:05:00 -05:00
|
|
|
zot-build:latest
|
|
|
|
|
|
|
|
.PHONY: binary-minimal-container
|
|
|
|
binary-minimal-container:
|
|
|
|
${CONTAINER_RUNTIME} build -f Dockerfile-minimal -t zot-minimal:latest ../../.
|
|
|
|
|
|
|
|
.PHONY: run-minimal-container
|
|
|
|
run-minimal-container:
|
2021-12-03 22:50:58 -05:00
|
|
|
${CONTAINER_RUNTIME} run --rm --security-opt label=disable -v $$(pwd)/../..:/go/src/github.com/project-zot/zot \
|
2021-10-15 10:05:00 -05:00
|
|
|
zot-minimal:latest
|
|
|
|
|
|
|
|
.PHONY: binary-exporter-container
|
|
|
|
binary-exporter-container:
|
2022-01-17 09:36:13 -05:00
|
|
|
${CONTAINER_RUNTIME} build -f Dockerfile-zxp -t zxp:latest ../../.
|
2021-10-15 10:05:00 -05:00
|
|
|
|
|
|
|
.PHONY: run-exporter-container
|
|
|
|
run-exporter-container:
|
2022-01-17 09:36:13 -05:00
|
|
|
${CONTAINER_RUNTIME} run --rm --security-opt label=disable zxp:latest
|