authentik/outpost/proxy.Dockerfile

17 lines
299 B
Docker

FROM golang:1.16.0 AS builder
WORKDIR /work
COPY . .
RUN go build -o /work/proxy ./cmd/proxy
# Copy binary to alpine
FROM gcr.io/distroless/base-debian10:debug
COPY --from=builder /work/proxy /
HEALTHCHECK CMD [ "wget", "--spider", "http://localhost:4180/akprox/ping" ]
ENTRYPOINT ["/proxy"]