459a6ea437
Bumps golang from 1.16.3 to 1.16.4. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
16 lines
275 B
Docker
16 lines
275 B
Docker
FROM golang:1.16.4 AS builder
|
|
|
|
WORKDIR /work
|
|
|
|
COPY . .
|
|
|
|
RUN go build -o /work/proxy ./cmd/proxy
|
|
|
|
FROM gcr.io/distroless/base-debian10:debug
|
|
|
|
COPY --from=builder /work/proxy /
|
|
|
|
HEALTHCHECK CMD [ "wget", "--spider", "http://localhost:4180/akprox/ping" ]
|
|
|
|
ENTRYPOINT ["/proxy"]
|