authentik/outpost/ldap.Dockerfile

14 lines
194 B
Docker
Raw Normal View History

FROM golang:1.16.4 AS builder
WORKDIR /work
COPY . .
RUN go build -o /work/ldap ./cmd/ldap
FROM gcr.io/distroless/base-debian10:debug
COPY --from=builder /work/ldap /
ENTRYPOINT ["/ldap"]