Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to go 1.19 to align with minio/minio #159

Merged
merged 1 commit into from
Sep 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading