Skip to content
Snippets Groups Projects
Commit b8f1ee82 authored by Kenny Ho's avatar Kenny Ho
Browse files

Update base image to alpine 3.17.3 to fix vulnerabilities

Fix CVE-2023-0464
parent 911066f7
Branches
Tags
No related merge requests found
...@@ -20,7 +20,7 @@ WORKDIR /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/cmd/k8s-device-pl ...@@ -20,7 +20,7 @@ WORKDIR /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/cmd/k8s-device-pl
RUN go install \ RUN go install \
-ldflags="-X main.gitDescribe=$(git -C /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/ describe --always --long --dirty)" -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 \ LABEL \
org.opencontainers.image.source="https://github.com/RadeonOpenCompute/k8s-device-plugin" \ org.opencontainers.image.source="https://github.com/RadeonOpenCompute/k8s-device-plugin" \
org.opencontainers.image.authors="Kenny Ho <Kenny.Ho@amd.com>" \ org.opencontainers.image.authors="Kenny Ho <Kenny.Ho@amd.com>" \
......
...@@ -19,7 +19,7 @@ WORKDIR /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/cmd/k8s-node-labe ...@@ -19,7 +19,7 @@ WORKDIR /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/cmd/k8s-node-labe
RUN go install \ RUN go install \
-ldflags="-X main.gitDescribe=$(git -C /go/src/github.com/RadeonOpenCompute/k8s-device-plugin/ describe --always --long --dirty)" -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 \ LABEL \
org.opencontainers.image.source="https://github.com/RadeonOpenCompute/k8s-device-plugin" \ org.opencontainers.image.source="https://github.com/RadeonOpenCompute/k8s-device-plugin" \
org.opencontainers.image.authors="Kenny Ho <Kenny.Ho@amd.com>" \ org.opencontainers.image.authors="Kenny Ho <Kenny.Ho@amd.com>" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment