diff --git a/internal/postprocessor/Dockerfile b/internal/postprocessor/Dockerfile index c3c6d575274a..e4aaa82587a3 100644 --- a/internal/postprocessor/Dockerfile +++ b/internal/postprocessor/Dockerfile @@ -22,7 +22,7 @@ WORKDIR /postprocessor RUN CGO_ENABLED=0 GOOS=linux go build -v -o post_processor # Install tools used in build -RUN go install honnef.co/go/tools/cmd/staticcheck@latest && \ +RUN GOTOOLCHAIN='auto' go install honnef.co/go/tools/cmd/staticcheck@latest && \ go install github.com/jstemmer/go-junit-report@latest && \ go install golang.org/x/lint/golint@latest && \ go install golang.org/x/tools/cmd/goimports@latest