Skip to content

Commit

Permalink
bump to golang 1.20 & alpine 3.17 (cesanta#358)
Browse files Browse the repository at this point in the history
* bump to golang 1.20 & alpine 3.17

* Update Dockerfile
  • Loading branch information
techknowlogick authored Mar 1, 2023
1 parent 3a7249e commit dca0cf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth_server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine3.16 as build
FROM golang:1.20-alpine3.17 as build

ARG VERSION
ENV VERSION "${VERSION}"
Expand All @@ -12,7 +12,7 @@ COPY . /build
WORKDIR /build
RUN make build

FROM alpine:3.19
FROM alpine:3.17
COPY --from=build /build/auth_server /docker_auth/
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/docker_auth/auth_server"]
Expand Down

0 comments on commit dca0cf1

Please sign in to comment.