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

rename Dockerfile to Dockerfile.build

Signed-off-by: Josh Dolitsky <393494+jdolitsky@users.noreply.github.com>
This commit is contained in:
Josh Dolitsky 2020-01-24 11:47:16 -06:00
parent 10d8a8650f
commit d50a07c149
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -16,3 +16,4 @@ bazel-*
coverage.txt coverage.txt
test/data/ test/data/
*.orig *.orig
.idea/

View file

@ -43,9 +43,9 @@ run: binary test
.PHONY: binary-container .PHONY: binary-container
binary-container: binary-container:
${CONTAINER_RUNTIME} build ${BUILD_ARGS} -f Dockerfile -t zot:latest . ${CONTAINER_RUNTIME} build ${BUILD_ARGS} -f Dockerfile.build -t zot-build:latest .
${CONTAINER_RUNTIME} run --rm --security-opt label=disable -v $$(pwd):/go/src/github.com/anuvu/zot \ ${CONTAINER_RUNTIME} run --rm --security-opt label=disable -v $$(pwd):/go/src/github.com/anuvu/zot \
zot:latest make zot-build:latest make
.PHONY: binary-stacker .PHONY: binary-stacker
binary-stacker: binary-stacker: