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