From 70e8d7b493a5093094b7c8417ea0d82b9c0980cd Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Thu, 31 Mar 2022 10:21:40 +1000 Subject: [PATCH] Fix golang 1.18 build --- docker/Dockerfile.acmesh-golang | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.acmesh-golang b/docker/Dockerfile.acmesh-golang index 56fc827..a0c74b0 100644 --- a/docker/Dockerfile.acmesh-golang +++ b/docker/Dockerfile.acmesh-golang @@ -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" +