Link container to source repo

This commit is contained in:
Michael Aldridge 2020-11-10 22:05:02 -08:00
parent 1f9ea643d7
commit 9d283c5315

View file

@ -5,5 +5,6 @@ RUN go mod vendor && \
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o /ldapd . CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o /ldapd .
FROM scratch FROM scratch
LABEL org.opencontainers.image.source https://github.com/netauth/ldap
ENTRYPOINT ["/ldapd"] ENTRYPOINT ["/ldapd"]
COPY --from=build /ldapd /ldapd COPY --from=build /ldapd /ldapd