You've already forked docker-ldap-change-password-web-ui
							
							This commit is contained in:
		
							
								
								
									
										21
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								Makefile
									
									
									
									
									
								
							| @@ -1,24 +1,9 @@ | ||||
| REPO=npenkov/docker-ldap-passwd-webui | ||||
| VER=1.2 | ||||
| .PHONY: all build | ||||
|  | ||||
| .PHONY: all build push | ||||
|  | ||||
| all: init build docker push clean | ||||
|  | ||||
| init: | ||||
| 	dep ensure | ||||
| all: build clean | ||||
| 	 | ||||
| build: | ||||
| 	GOOS=linux go build -o docker-ldap-change-password-web-ui main.go | ||||
|  | ||||
| docker: | ||||
| 	@echo "Building docker image" | ||||
| 	docker build -t ${REPO}:${VER} -t ${REPO}:latest . | ||||
|  | ||||
| push:  | ||||
| 	@echo "Pushing to dockerhub" | ||||
| 	docker push ${REPO}:${VER}  | ||||
| 	docker push ${REPO}:latest | ||||
|  | ||||
| clean: | ||||
| 	rm -rf docker-ldap-change-password-web-ui | ||||
| 	rm docker-ldap-change-password-web-ui | ||||
		Reference in New Issue
	
	Block a user