mirror of
https://github.com/NginxProxyManager/docker-nginx-full.git
synced 2024-12-06 19:26:20 +01:00
golangci-lint now works on multiple architectures
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user