mirror of
https://github.com/NginxProxyManager/docker-nginx-full.git
synced 2024-12-06 19:26:20 +01:00
Fix gotools for non-amd64
This commit is contained in:
@@ -29,15 +29,11 @@ RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" \
|
||||
&& echo "====> ${TARGETPLATFORM}: $(go version)"
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
COPY ./files/.bashrc.acmesh-golang /root/.bashrc
|
||||
|
||||
# Gotools
|
||||
RUN cd /usr && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.56.2
|
||||
RUN go install github.com/kyoh86/richgo@latest \
|
||||
&& go install github.com/mfridman/tparse@latest \
|
||||
&& go install golang.org/x/vuln/cmd/govulncheck@latest \
|
||||
&& rm -rf /root/.cache/go-build
|
||||
COPY ./scripts/install-gotools /tmp/install-gotools
|
||||
RUN /tmp/install-gotools
|
||||
|
||||
LABEL org.label-schema.cmd="docker run --rm -ti nginxproxymanager/nginx-full:acmesh-golang"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user