From b8f1ee823565a1df3d09284233473728f6b6ef7a Mon Sep 17 00:00:00 2001 From: Kenny Ho <Kenny.Ho@amd.com> Date: Mon, 10 Apr 2023 21:21:41 -0400 Subject: [PATCH] Update base image to alpine 3.17.3 to fix vulnerabilities Fix CVE-2023-0464 --- Dockerfile | 2 +- labeller.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 030fc1c8..67eb0015 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ WORKDIR /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/cmd/k8s-device-pl RUN go install \ -ldflags="-X main.gitDescribe=$(git -C /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/ describe --always --long --dirty)" -FROM alpine:3.17 +FROM alpine:3.17.3 LABEL \ org.opencontainers.image.source="https://github.com/RadeonOpenCompute/k8s-device-plugin" \ org.opencontainers.image.authors="Kenny Ho <Kenny.Ho@amd.com>" \ diff --git a/labeller.Dockerfile b/labeller.Dockerfile index 1e444ace..beaeeb96 100644 --- a/labeller.Dockerfile +++ b/labeller.Dockerfile @@ -19,7 +19,7 @@ WORKDIR /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/cmd/k8s-node-labe RUN go install \ -ldflags="-X main.gitDescribe=$(git -C /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/ describe --always --long --dirty)" -FROM alpine:3.17 +FROM alpine:3.17.3 LABEL \ org.opencontainers.image.source="https://github.com/RadeonOpenCompute/k8s-device-plugin" \ org.opencontainers.image.authors="Kenny Ho <Kenny.Ho@amd.com>" \ -- GitLab