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.
docker-glpi/Makefile

13 lines
292 B

DOCKER_TAG = docker-glpi
DOCKER_REVISION ?= testing-$(USER)
.PHONY: build-image
build-image:
docker build -t ${DOCKER_TAG}:${DOCKER_REVISION} .
.PHONY: run-image
run-image:
docker run -it --rm -p 8080:80 ${DOCKER_TAG}:${DOCKER_REVISION}
.PHONY: start-dev
start-dev: build-image run-image