mirror of
https://github.com/NginxProxyManager/docker-nginx-full.git
synced 2026-05-18 07:40:36 +00:00
Fix golang 1.18 build
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user