chrome/Makefile

19 lines
310 B
Makefile
Raw Permalink Normal View History

2017-09-07 06:44:45 +00:00
ifeq (, $(shell docker --version))
$(error "Please install docker")
endif
NS ?= andrey01
NAME ?= chrome
VERSION ?= latest
default: build
build:
2017-09-23 20:17:59 +00:00
docker build --pull -t $(NS)/$(NAME):$(VERSION) -f Dockerfile -- .
2017-09-07 06:44:45 +00:00
publish:
docker push $(NS)/$(NAME):$(VERSION)
clean:
docker rmi $(NS)/$(NAME):$(VERSION)