This commit is contained in:
@ -2,11 +2,11 @@ FROM alpine:3.7
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ADD ldap-pass-webui /app/ldap-pass-webui
|
ADD docker-ldap-change-password-web-ui /app/docker-ldap-change-password-web-ui
|
||||||
ADD static /app/static
|
ADD static /app/static
|
||||||
ADD templates /app/templates
|
ADD templates /app/templates
|
||||||
RUN chmod +x /app/ldap-pass-webui
|
RUN chmod +x /app/docker-ldap-change-password-web-ui
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
ENTRYPOINT [ "/app/ldap-pass-webui" ]
|
ENTRYPOINT [ "/app/docker-ldap-change-password-web-ui" ]
|
4
Makefile
4
Makefile
@ -9,7 +9,7 @@ init:
|
|||||||
dep ensure
|
dep ensure
|
||||||
|
|
||||||
build:
|
build:
|
||||||
GOOS=linux go build -o ldap-pass-webui main.go
|
GOOS=linux go build -o docker-ldap-change-password-web-ui main.go
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
@echo "Building docker image"
|
@echo "Building docker image"
|
||||||
@ -21,4 +21,4 @@ push:
|
|||||||
docker push ${REPO}:latest
|
docker push ${REPO}:latest
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf ldap-pass-webui
|
rm -rf docker-ldap-change-password-web-ui
|
Reference in New Issue
Block a user