Skip to content

Commit dcb26d4

Browse files
committed
simple base apt install
Signed-off-by: zbb88888 <jmdxjsjgcxy@gmail.com>
1 parent 47043f5 commit dcb26d4

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

dist/images/Dockerfile.base

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,12 @@ RUN --mount=type=bind,target=/trivy,from=trivy,source=/godeps \
159159
FROM ubuntu:24.04
160160

161161
ARG DEBIAN_FRONTEND=noninteractive
162-
RUN apt update && apt upgrade -y && apt install ca-certificates python3 hostname libunwind8 netbase \
162+
RUN apt update && apt upgrade -y && apt install -y --no-install-recommends \
163+
ca-certificates python3 hostname libunwind8 netbase \
163164
ethtool iproute2 ncat libunbound8 procps libatomic1 kmod iptables python3-netifaces python3-sortedcontainers \
164165
tcpdump ipvsadm ipset curl uuid-runtime openssl inetutils-ping arping ndisc6 conntrack traceroute iputils-tracepath \
165-
logrotate dnsutils net-tools strongswan strongswan-pki libcharon-extra-plugins libmnl0 \
166-
libcharon-extauth-plugins libstrongswan-extra-plugins libstrongswan-standard-plugins -y --no-install-recommends && \
166+
logrotate dnsutils net-tools libmnl0 \
167+
j2cli lsof && \
167168
rm -rf /var/lib/apt/lists/* && \
168169
rm -rf /etc/localtime && \
169170
rm -f /usr/bin/nc && \

0 commit comments

Comments
 (0)