You've already forked docker-ldap-change-password-web-ui
Initial version.
This commit is contained in:
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
REPO=npenkov/docker-ldap-passwd-webui
|
||||
VER=1.0
|
||||
|
||||
.PHONY: all build push
|
||||
|
||||
all: build docker push clean
|
||||
|
||||
build:
|
||||
GOOS=linux go build -o ldap-pass-webui 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 ldap-pass-webui
|
Reference in New Issue
Block a user