You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
376 B
21 lines
376 B
NS ?= andrey01
|
|
NAME ?= taiga
|
|
VERSION ?= 3.1.0
|
|
|
|
default: build
|
|
|
|
build:
|
|
docker build --pull -t $(NS)/$(NAME):$(VERSION) -f Dockerfile .
|
|
|
|
publish:
|
|
docker push $(NS)/$(NAME):$(VERSION)
|
|
|
|
check:
|
|
docker run --rm -i $(NS)/$(NAME):$(VERSION) sh -c "set -x; exit 0"
|
|
|
|
console:
|
|
docker run --rm -ti --entrypoint sh $(NS)/$(NAME):$(VERSION)
|
|
|
|
clean:
|
|
docker rmi $(NS)/$(NAME):$(VERSION)
|