parent
							
								
									b4657547c6
								
							
						
					
					
						commit
						ca265ed0d5
					
				@ -1,12 +1,13 @@
 | 
				
			|||||||
 | 
					DOCKER_TAG = docker-glpi
 | 
				
			||||||
DOCKER_REVISION ?= testing-$(USER)
 | 
					DOCKER_REVISION ?= testing-$(USER)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.PHONY: build-image
 | 
					.PHONY: build-image
 | 
				
			||||||
build-image:
 | 
					build-image:
 | 
				
			||||||
	docker build -t glpi:${DOCKER_REVISION} .
 | 
						docker build -t ${DOCKER_TAG}:${DOCKER_REVISION} .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.PHONY: run-image
 | 
					.PHONY: run-image
 | 
				
			||||||
run-image:
 | 
					run-image:
 | 
				
			||||||
	docker run -it --rm -p 8080:80 glpi:${DOCKER_REVISION}
 | 
						docker run -it --rm -p 8080:80 ${DOCKER_TAG}:${DOCKER_REVISION}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.PHONY: start-dev
 | 
					.PHONY: start-dev
 | 
				
			||||||
start-dev: build-image run-image
 | 
					start-dev: build-image run-image
 | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue