Skip to content

Commit

Permalink
Update to go 1.19 to align with minio/minio
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Kyle Harding <[email protected]>
  • Loading branch information
klutchell committed Sep 1, 2023
1 parent a7e09d4 commit a242cff
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ EXPOSE 80
VOLUME /export

ARG TARGETARCH

ENV GO_SHA256_amd64 013a489ebb3e24ef3d915abe5b94c3286c070dfe0818d5bca8108f1d6e8440d2
ENV GO_SHA256_arm64 3770f7eb22d05e25fbee8fb53c2a4e897da043eb83c69b9a14f8d98562cd8098
ENV GO_VERSION 1.16
ENV GO_SHA256_amd64 464b6b66591f6cf055bc5df90a9750bf5fbc9d038722bb84a9d56a2bea974be6
ENV GO_SHA256_arm64 efa97fac9574fc6ef6c9ff3e3758fb85f1439b046573bf434cccb5e012bd00c8
ENV GO_VERSION 1.19
ENV GOPATH /go

# https://github.com/minio/minio/tags
Expand All @@ -23,7 +22,7 @@ RUN curl -SLO https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${TARG
&& echo "$(eval echo \$GO_SHA256_${TARGETARCH}) go${GO_VERSION}.linux-${TARGETARCH}.tar.gz" | sha256sum -c \
&& tar xz -C /usr/local -f go${GO_VERSION}.linux-${TARGETARCH}.tar.gz \
&& rm go${GO_VERSION}.linux-${TARGETARCH}.tar.gz \
&& GO111MODULE=on go get github.com/minio/minio@${MINIO_VERSION} \
&& GO111MODULE=on go install github.com/minio/minio@${MINIO_VERSION} \
&& rm -rf /go/pkg

RUN curl -fsSL -o /sbin/mc https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc \
Expand Down

0 comments on commit a242cff

Please sign in to comment.