Skip to content

Commit

Permalink
fixate golang and alpine versions on Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheu committed Apr 18, 2024
1 parent 89d9423 commit a02d3d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM --platform=$BUILDPLATFORM golang:latest as builder
ARG alpine_version=3.19
ARG golang_version=1.20
FROM --platform=$BUILDPLATFORM golang:${golang_version}-alpine${alpine_version} as builder
ARG TARGETARCH
ENV GOARCH=$TARGETARCH

Expand All @@ -13,4 +15,4 @@ COPY --from=builder /go/src/github.com/tsuru/kubernetes-router/kubernetes-router

EXPOSE 8077

CMD ["./kubernetes-router"]
CMD ["./kubernetes-router"]

0 comments on commit a02d3d0

Please sign in to comment.