authentik/outpost/proxy.Dockerfile

17 lines
299 B
Docker
Raw Normal View History

FROM golang:1.16.2 AS builder
2020-09-02 23:04:12 +01:00
WORKDIR /work
COPY . .
2021-01-16 20:49:30 +00:00
RUN go build -o /work/proxy ./cmd/proxy
2020-09-02 23:04:12 +01:00
# Copy binary to alpine
2020-09-19 10:43:22 +01:00
FROM gcr.io/distroless/base-debian10:debug
2020-09-02 23:04:12 +01:00
COPY --from=builder /work/proxy /
2020-09-19 10:43:22 +01:00
2020-12-05 21:08:42 +00:00
HEALTHCHECK CMD [ "wget", "--spider", "http://localhost:4180/akprox/ping" ]
2020-09-19 10:43:22 +01:00
2020-09-02 23:04:12 +01:00
ENTRYPOINT ["/proxy"]