From 658185fce16b426fb4979bf621dbd3128931e631 Mon Sep 17 00:00:00 2001 From: dbinnal-px Date: Fri, 28 Jun 2024 05:09:47 +0000 Subject: [PATCH] PB-7300: upgrading packages to fix high cve --- .travis.yml | 2 +- Dockerfile.unittest | 4 ++-- Makefile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 62d89181f..940749ef9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ env: global: - GO111MODULE=on go: - - 1.21.6 + - 1.21.11 script: - | if [ -n "${TRAVIS_TAG}" ]; then diff --git a/Dockerfile.unittest b/Dockerfile.unittest index 79956909a..8ef59ccd4 100644 --- a/Dockerfile.unittest +++ b/Dockerfile.unittest @@ -7,8 +7,8 @@ RUN yum -y install gzip git tar wget curl bash vim make gpg bzip2 RUN git config --global --add safe.directory /go/src/github.com/portworx/kdmp -RUN curl https://dl.google.com/go/go1.21.6.linux-amd64.tar.gz -o go1.21.6.linux-amd64.tar.gz -RUN tar -xf go1.21.6.linux-amd64.tar.gz && mv go /usr/local/ +RUN curl https://dl.google.com/go/go1.21.11.linux-amd64.tar.gz -o go1.21.11.linux-amd64.tar.gz +RUN tar -xf go1.21.11.linux-amd64.tar.gz && mv go /usr/local/ ENV GOROOT /usr/local/go ENV PATH ${GOPATH}/bin:${GOROOT}/bin:${PATH} diff --git a/Makefile b/Makefile index 9a07969d6..663b03527 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ BASE_DIR := $(shell git rev-parse --show-toplevel) GIT_SHA := $(shell git rev-parse --short HEAD) BIN := $(BASE_DIR)/bin -DOCK_BUILD_CNT := golang:1.21.6 +DOCK_BUILD_CNT := golang:1.21.11 DOCKER_IMAGE_REPO?=portworx DOCKER_IMAGE_NAME?=kdmp