Fix golang 1.18 build

This commit is contained in:
Jamie Curnow
2022-03-31 10:21:40 +10:00
parent 952e3c00a7
commit 70e8d7b493
+3 -2
View File
@@ -31,8 +31,9 @@ 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 go get -u github.com/kyoh86/richgo \
&& go get -u github.com/sonatype-nexus-community/nancy \
RUN go install github.com/kyoh86/richgo@latest \
&& go install github.com/sonatype-nexus-community/nancy@latest \
&& rm -rf /root/.cache/go-build
LABEL org.label-schema.cmd="docker run --rm -ti nginxproxymanager/nginx-full:acmesh-golang"