Skip to content

Commit 1b29b93

Browse files
authored
Add update-ca-trust command (#1314)
* Add update-ca-trust command * update triv ignore
1 parent 8d6e12e commit 1b29b93

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.trivyignore

+5
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ CVE-2024-24791
1616

1717
#cbl-mariner
1818
CVE-2024-5535
19+
20+
#stdlib
21+
CVE-2024-34156
22+
CVE-2024-34155
23+
CVE-2024-34158

kubernetes/linux/Dockerfile.multiarch

+18-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,23 @@ ENV tmpdir /opt
2222
RUN tdnf clean all
2323
RUN tdnf repolist --refresh
2424
RUN tdnf -y update
25-
RUN tdnf install -y build-essential wget curl sudo net-tools cronie rsyslog dmidecode gnupg make logrotate busybox gawk tar && rm -rf /var/lib/apt/lists/*
25+
RUN tdnf install -y \
26+
build-essential \
27+
wget \
28+
curl \
29+
sudo \
30+
net-tools \
31+
cronie \
32+
rsyslog \
33+
dmidecode \
34+
gnupg \
35+
make \
36+
logrotate \
37+
busybox \
38+
gawk \
39+
tar \
40+
ca-certificates \
41+
&& rm -rf /var/lib/apt/lists/*
2642
RUN mkdir /busybin && busybox --install /busybin
2743

2844
COPY --from=golang-builder /src/kubernetes/linux/Linux_ULINUX_1.0_*_64_Release/docker-cimprov-*.*.*-*.*.sh $tmpdir/
@@ -81,6 +97,7 @@ COPY --from=builder /usr/bin/curl /usr/bin/curl
8197
COPY --from=builder /usr/bin/jq /usr/bin/jq
8298
COPY --from=builder /usr/bin/base64 /usr/bin/base64
8399
COPY --from=builder /usr/bin/fluentd /usr/bin/fluentd
100+
COPY --from=builder /usr/bin/update-ca-trust /usr/bin/update-ca-trust
84101

85102
# bash dependencies
86103
COPY --from=builder /lib/libreadline.so.8 /lib/

0 commit comments

Comments
 (0)