From e8a08eab7669eb17d5e75e659de6c001bc6608a1 Mon Sep 17 00:00:00 2001 From: Abolfazl Shahbazi Date: Wed, 23 Oct 2024 12:54:54 -0700 Subject: [PATCH] Minor enhancements to Dockerfiles (#495) Signed-off-by: Abolfazl Shahbazi --- .github/workflows/scripts/codeScan/bandit.sh | 2 +- kubernetes-addons/memory-bandwidth-exporter/Dockerfile | 2 +- microservices-connector/Dockerfile.manager | 2 +- microservices-connector/Dockerfile.router | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/scripts/codeScan/bandit.sh b/.github/workflows/scripts/codeScan/bandit.sh index c9d5d5b28..d2ca1f269 100644 --- a/.github/workflows/scripts/codeScan/bandit.sh +++ b/.github/workflows/scripts/codeScan/bandit.sh @@ -4,7 +4,7 @@ # SPDX-License-Identifier: Apache-2.0 source /GenAIInfra/.github/workflows/scripts/change_color -pip install bandit==1.7.8 +pip install --no-cache-dir bandit==1.7.8 log_dir=/GenAIInfra/.github/workflows/scripts/codeScan python -m bandit -r -lll -iii /GenAIInfra 2>&1 | tee ${log_dir}/bandit.log exit_code=$? diff --git a/kubernetes-addons/memory-bandwidth-exporter/Dockerfile b/kubernetes-addons/memory-bandwidth-exporter/Dockerfile index 857917b0f..fc9f35118 100644 --- a/kubernetes-addons/memory-bandwidth-exporter/Dockerfile +++ b/kubernetes-addons/memory-bandwidth-exporter/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22 AS builder +FROM golang:1.23 AS builder ARG TARGETOS ARG TARGETARCH diff --git a/microservices-connector/Dockerfile.manager b/microservices-connector/Dockerfile.manager index b0f9e9a5e..64d127f93 100644 --- a/microservices-connector/Dockerfile.manager +++ b/microservices-connector/Dockerfile.manager @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 # Build the manager binary -FROM golang:1.21 AS builder +FROM golang:1.23 AS builder ARG TARGETOS ARG TARGETARCH diff --git a/microservices-connector/Dockerfile.router b/microservices-connector/Dockerfile.router index 103de1d1a..86d20a6e9 100644 --- a/microservices-connector/Dockerfile.router +++ b/microservices-connector/Dockerfile.router @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 # Build the router binary -FROM golang:1.21 AS builder +FROM golang:1.23 AS builder ARG TARGETOS ARG TARGETARCH