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 | .PHONY: all build | ||||||
| VER=1.2 |  | ||||||
|  |  | ||||||
| .PHONY: all build push | all: build clean | ||||||
|  |  | ||||||
| all: init build docker push clean |  | ||||||
|  |  | ||||||
| init: |  | ||||||
| 	dep ensure |  | ||||||
| 	 | 	 | ||||||
| build: | build: | ||||||
| 	GOOS=linux go build -o docker-ldap-change-password-web-ui main.go | 	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: | clean: | ||||||
| 	rm -rf docker-ldap-change-password-web-ui | 	rm docker-ldap-change-password-web-ui | ||||||
		Reference in New Issue
	
	Block a user