Skip to content

Commit cee5012

Browse files
authored
Merge pull request #635 from andyzhangx/CVE-2021-33574
fix: CVE issues in image build
2 parents 5b9df4e + 19a10f8 commit cee5012

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

pkg/blobplugin/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ COPY ${binary} /blobplugin
2121
RUN apt update && apt-mark unhold libcap2
2222
RUN clean-install ca-certificates uuid-dev util-linux mount udev wget e2fsprogs nfs-common netbase
2323
# install updated packages to fix CVE issues
24-
RUN clean-install libgmp10 bsdutils libssl1.1 openssl
24+
RUN clean-install libgmp10 bsdutils libssl1.1 openssl libc-bin libsystemd0
2525
RUN mkdir /blobfuse-proxy/
2626
COPY ./_output/blobfuse-proxy.deb /blobfuse-proxy/
2727
ARG ARCH=amd64

test/e2e/suite_test.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,19 +139,13 @@ var _ = ginkgo.AfterSuite(func() {
139139
startLog: "===================blob log===================",
140140
endLog: "==================================================",
141141
}
142-
deleteMetricsSVC := testCmd{
143-
command: "make",
144-
args: []string{"delete-metrics-svc"},
145-
startLog: "delete metrics service...",
146-
endLog: "metrics service deleted",
147-
}
148142
e2eTeardown := testCmd{
149143
command: "make",
150144
args: []string{"e2e-teardown"},
151145
startLog: "Uninstalling Azure Blob Storage CSI driver...",
152146
endLog: "Azure Blob Storage CSI driver uninstalled",
153147
}
154-
execTestCmd([]testCmd{blobLog, deleteMetricsSVC, e2eTeardown})
148+
execTestCmd([]testCmd{blobLog, e2eTeardown})
155149

156150
// install/uninstall CSI Driver deployment scripts test
157151
installDriver := testCmd{

0 commit comments

Comments
 (0)