Skip to content

Commit

Permalink
Build with Go v1.21
Browse files Browse the repository at this point in the history
Longhorn 7341

Signed-off-by: Eric Weber <[email protected]>
  • Loading branch information
ejweber committed Dec 15, 2023
1 parent c9e0a0e commit 131fee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ RUN if [ ${ARCH} == "s390x" ]; then \
ENV GOLANG_ARCH_amd64=amd64 GOLANG_ARCH_arm64=arm64 GOLANG_ARCH_s390x=s390x GOLANG_ARCH=GOLANG_ARCH_${ARCH} \
GOPATH=/go PATH=/go/bin:/usr/local/go/bin:${PATH} SHELL=/bin/bash

RUN wget -O - https://storage.googleapis.com/golang/go1.17.10.linux-${!GOLANG_ARCH}.tar.gz | tar -xzf - -C /usr/local && \
go get -u golang.org/x/lint/golint
RUN wget -O - https://storage.googleapis.com/golang/go1.21.3.linux-${!GOLANG_ARCH}.tar.gz | tar -xzf - -C /usr/local && \
go install golang.org/x/lint/golint@latest

ENV DAPPER_SOURCE /go/src/github.com/longhorn/longhorn-manager
ENV DAPPER_OUTPUT ./bin coverage.out
Expand Down

0 comments on commit 131fee2

Please sign in to comment.