runtime/Makefile

20 lines
387 B
Makefile
Raw Normal View History

2020-02-02 21:06:11 +00:00
DOCKER=docker
2020-03-31 19:54:28 +00:00
VERSION=2020.04-1
2020-02-02 21:06:11 +00:00
all: build
build:
$(DOCKER) pull debian:buster
2020-02-02 21:06:11 +00:00
$(DOCKER) build -t rosti/runtime:dev .
test: build
DOCKER=$(DOCKER) ./tests.sh
squashed:
$(DOCKER) pull debian:buster
2020-02-02 21:06:11 +00:00
$(DOCKER) build --squash -t rosti/runtime:dev-squashed .
push: squashed
$(DOCKER) tag rosti/runtime:dev-squashed rosti/runtime:$(VERSION)
$(DOCKER) push rosti/runtime:$(VERSION)