diff --git a/Dockerfile b/Dockerfile index 3dde4d6..408a7c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,11 @@ RUN apt-get update && \ go install github.com/kisielk/errcheck@latest && \ go install golang.org/x/tools/cmd/goimports@latest && \ go install golang.org/x/lint/golint@latest && \ - go install github.com/securego/gosec/v2/cmd/gosec@latest && \ go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest && \ go install honnef.co/go/tools/cmd/staticcheck@latest +# Manually install a patched version of gosec +RUN git clone https://github.com/convictional/gosec && cd gosec && go install . && cd .. + COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]