diff --git a/scripts/Dockerfile b/scripts/Dockerfile index a4d6c70434..b5938bd34e 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -4,8 +4,8 @@ RUN apk add jq \ && apk add go \ && apk add python3 \ && apk add make \ - && go get gotest.tools/gotestsum \ - && go get honnef.co/go/tools/cmd/staticcheck + && go install gotest.tools/gotestsum@latest \ + && go install honnef.co/go/tools/cmd/staticcheck@latest RUN mkdir /src \ && ln -s /root/go/bin/gotestsum /bin/gotestsum \ @@ -16,4 +16,4 @@ COPY . . RUN make install -ENTRYPOINT [ "/src/scripts/it.sh" ] \ No newline at end of file +ENTRYPOINT [ "/src/scripts/it.sh" ]