[VOL-5374] Upgrade tools with go version 1.23.1
Change-Id: I12caf4f747f934be1553b6eb0e95b590a111e922
Signed-off-by: abhay <abhayk@radisys.com>
diff --git a/docker/go-junit-report.Dockerfile b/docker/go-junit-report.Dockerfile
index d2a5f3a..461a3b0 100644
--- a/docker/go-junit-report.Dockerfile
+++ b/docker/go-junit-report.Dockerfile
@@ -15,13 +15,14 @@
ARG GOLANG_VERSION
FROM golang:$GOLANG_VERSION-alpine as build
-RUN apk add --no-cache build-base=0.5-r2
+RUN apk add --no-cache build-base=0.5-r3 git=2.45.2-r0 && \
+mkdir -m 777 /.cache /go/pkg
# download & compile this specific version of go-junit-report
ARG GO_JUNIT_REPORT_VERSION
-RUN GO111MODULE=on CGO_ENABLED=0 go get -u -ldflags "-linkmode external -extldflags -static" github.com/jstemmer/go-junit-report@v$GO_JUNIT_REPORT_VERSION
+RUN GO111MODULE=on CGO_ENABLED=0 go install -ldflags "-extldflags -static" github.com/jstemmer/go-junit-report@v$GO_JUNIT_REPORT_VERSION
-FROM busybox:1.31.1
+FROM busybox:1.36.1
# copy go-junit-report
COPY --from=build /go/bin/* /usr/local/bin/