Initial version.

This commit is contained in:
Nick Penkov
2018-01-26 12:38:19 +01:00
parent 29be16c897
commit 173d059c82
10 changed files with 522 additions and 0 deletions

21
Makefile Normal file
View 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