X-Git-Url: https://git.arvados.org/arvados-k8s.git/blobdiff_plain/17f38e01d21438aa71e8db9ee55a585d8ab8ae8b..cfd6344f304f3e1fec034def42fddbde6f1333b1:/dockerfiles/Makefile diff --git a/dockerfiles/Makefile b/dockerfiles/Makefile index 0870f6e..cd24b4b 100644 --- a/dockerfiles/Makefile +++ b/dockerfiles/Makefile @@ -3,33 +3,37 @@ # SPDX-License-Identifier: AGPL-3.0 REPO = cure +REBUILD= all: build push +rebuild: REBUILD="--no-cache" +rebuild: build + build: docker-build-arvados-runtime docker-build-arvados-rails-runtime docker-build-arvados-slurm-runtime docker-build-arvados-shell-server-runtime push: docker-push-arvados-runtime docker-push-arvados-rails-runtime docker-push-arvados-slurm-runtime docker-push-arvados-shell-server-runtime docker-build-arvados-runtime: - docker build -t ${REPO}/arvados-runtime -f Dockerfile.runtime . + docker build ${REBUILD} -t ${REPO}/arvados-runtime -f Dockerfile.runtime . docker-push-arvados-runtime: docker-build-arvados-runtime docker push ${REPO}/arvados-runtime:latest docker-build-arvados-rails-runtime: - docker build -t ${REPO}/arvados-rails-runtime -f Dockerfile.rails-runtime . + docker build ${REBUILD} -t ${REPO}/arvados-rails-runtime -f Dockerfile.rails-runtime . docker-push-arvados-rails-runtime: docker-build-arvados-rails-runtime docker push ${REPO}/arvados-rails-runtime:latest docker-build-arvados-slurm-runtime: - docker build -t ${REPO}/arvados-slurm-runtime -f Dockerfile.slurm-runtime . + docker build ${REBUILD} -t ${REPO}/arvados-slurm-runtime -f Dockerfile.slurm-runtime . docker-push-arvados-slurm-runtime: docker-build-arvados-slurm-runtime docker push ${REPO}/arvados-slurm-runtime:latest docker-build-arvados-shell-server-runtime: - docker build -t ${REPO}/arvados-shell-server-runtime -f Dockerfile.shell_server-runtime . + docker build ${REBUILD} -t ${REPO}/arvados-shell-server-runtime -f Dockerfile.shell_server-runtime . docker-push-arvados-shell-server-runtime: docker-build-arvados-shell-server-runtime docker push ${REPO}/arvados-shell-server-runtime:latest