2020-02-02 21:06:11 +00:00
|
|
|
DOCKER=docker
|
2021-03-08 10:45:06 +00:00
|
|
|
VERSION=2021.03-1
|
2020-02-02 21:06:11 +00:00
|
|
|
|
|
|
|
all: build
|
|
|
|
|
|
|
|
build:
|
2020-02-12 23:25:24 +00:00
|
|
|
$(DOCKER) pull debian:buster
|
2020-02-02 21:06:11 +00:00
|
|
|
$(DOCKER) build -t rosti/runtime:dev .
|
|
|
|
|
2020-04-01 21:47:12 +00:00
|
|
|
test:
|
2020-02-02 21:06:11 +00:00
|
|
|
DOCKER=$(DOCKER) ./tests.sh
|
|
|
|
|
|
|
|
squashed:
|
2020-02-12 23:25:24 +00:00
|
|
|
$(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)
|
2021-03-08 10:45:06 +00:00
|
|
|
$(DOCKER) push rosti/runtime:$(VERSION)
|