golangci-lint now works on multiple architectures

This commit is contained in:
Jamie Curnow
2022-05-10 13:26:19 +10:00
parent c8cfa293c0
commit 801b2fb144
+1 -1
View File
@@ -30,7 +30,7 @@ WORKDIR /root
COPY ./files/.bashrc.acmesh-golang /root/.bashrc
# Gotools
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
RUN cd /usr && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.46.0
RUN go install github.com/kyoh86/richgo@latest \
&& go install github.com/sonatype-nexus-community/nancy@latest \
&& rm -rf /root/.cache/go-build