runtime/Makefile
Adam Štrauch 31e63245e1
Runtime 2020.08-1
* New versions of PHP, Node.js and Python
* Updated rosti.sh to support arguments
2020-08-23 00:49:52 +02:00

19 lines
381 B
Makefile

DOCKER=docker
VERSION=2020.08-1
all: build
build:
$(DOCKER) pull debian:buster
$(DOCKER) build -t rosti/runtime:dev .
test:
DOCKER=$(DOCKER) ./tests.sh
squashed:
$(DOCKER) pull debian:buster
$(DOCKER) build --squash -t rosti/runtime:dev-squashed .
push: squashed
$(DOCKER) tag rosti/runtime:dev-squashed rosti/runtime:$(VERSION)
$(DOCKER) push rosti/runtime:$(VERSION)