Skip to content

Commit 801b2fb

Browse files
committed
golangci-lint now works on multiple architectures
1 parent c8cfa29 commit 801b2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/Dockerfile.acmesh-golang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ WORKDIR /root
3030
COPY ./files/.bashrc.acmesh-golang /root/.bashrc
3131

3232
# Gotools
33-
RUN if [ "$TARGETPLATFORM" == "" ] || [ "$TARGETPLATFORM" == "linux/amd64" ]; then cd /usr && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.39.0; fi
33+
RUN cd /usr && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.46.0
3434
RUN go install github.com/kyoh86/richgo@latest \
3535
&& go install github.com/sonatype-nexus-community/nancy@latest \
3636
&& rm -rf /root/.cache/go-build

0 commit comments

Comments
 (0)