Skip to content

Commit

Permalink
Merge pull request #7018 from nilo19/fix/dockerfile-cve
Browse files Browse the repository at this point in the history
fix: Bump golang version to 1.23.1 to fix cves
  • Loading branch information
k8s-ci-robot authored Sep 11, 2024
2 parents 4f1b898 + 07474cb commit 040e6fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# syntax=docker/dockerfile:1

FROM --platform=linux/amd64 golang:1.23.0-bookworm AS builder
FROM --platform=linux/amd64 golang:1.23-bullseye@sha256:45b43371f21ec51276118e6806a22cbb0bca087ddd54c491fdc7149be01035d5 AS builder

ARG ENABLE_GIT_COMMAND=true
ARG ARCH=amd64
Expand Down
2 changes: 1 addition & 1 deletion cloud-node-manager.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM --platform=linux/amd64 golang:1.23.0-bookworm AS builder
FROM --platform=linux/amd64 golang:1.23-bullseye@sha256:45b43371f21ec51276118e6806a22cbb0bca087ddd54c491fdc7149be01035d5 AS builder

ARG ENABLE_GIT_COMMAND=true
ARG ARCH=amd64
Expand Down
2 changes: 1 addition & 1 deletion e2e.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.23.0-bookworm
FROM --platform=linux/amd64 golang:1.23-bullseye@sha256:45b43371f21ec51276118e6806a22cbb0bca087ddd54c491fdc7149be01035d5 AS builder

WORKDIR /go/src/sigs.k8s.io/cloud-provider-azure

Expand Down

0 comments on commit 040e6fa

Please sign in to comment.