Makefile 314 Bytes
Newer Older
1
CONTAINER_NAME = registry.hzdr.de/pape58/slurm-in-docker
2
3
CONTAINER_TAG  = latest
CONTAINER      = $(CONTAINER_NAME):$(CONTAINER_TAG)
4

5
.PHONY: build push run
6
7

build: Dockerfile docker-entrypoint.sh
8
	docker build -t $(CONTAINER) .
9
10

push: build
11
	docker push $(CONTAINER)
12
13

run: build
14
	docker run -ti --rm $(CONTAINER)