Skip to content

Commit

Permalink
dockerfile: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
jzelinskie committed Feb 17, 2022
1 parent dd07720 commit c85e010
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM golang:1.17.1-alpine3.13 AS build
FROM golang:1.17.7-alpine3.15 AS build

WORKDIR /go/src/prom-authzed-proxy

COPY ./go.mod ./go.sum .
COPY ./go.mod ./go.sum ./
RUN go mod download

COPY ./ /go/src/prom-authzed-proxy
RUN go build .

FROM alpine:3.14.2
FROM alpine:3.15
COPY --from=build /go/src/prom-authzed-proxy/prom-authzed-proxy /usr/local/bin/
CMD ["prom-authzed-proxy"]
ENTRYPOINT ["prom-authzed-proxy"]

0 comments on commit c85e010

Please sign in to comment.