File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,13 @@ LABEL name='base' \
1717USER root
1818
1919RUN microdnf update -y \
20- && microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-${JAVA_VERSION}-openjdk-headless openssl shadow-utils \
20+ && microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y \
21+ # Needed to run Java applications \
22+ java-${JAVA_VERSION}-openjdk-headless \
23+ # Needed to work with TLS certificates in our shell scripts as well as from our own Java code \
24+ openssl \
25+ # Needed to add non-root users to our container images \
26+ shadow-utils \
2127 && microdnf reinstall -y tzdata \
2228 && microdnf clean all -y
2329
Original file line number Diff line number Diff line change @@ -15,7 +15,22 @@ LABEL name='kafka' \
1515 summary="Kafka ${KAFKA_VERSION} image of the Strimzi Kafka Operator project." \
1616 description="Kafka image used by the Strimzi Kafka Operator to run Kafka ${KAFKA_VERSION} clusters."
1717
18- RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y gettext nmap-ncat net-tools unzip hostname findutils tar \
18+ RUN microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y \
19+ # net-tools are needed for the health check probes (netstat) \
20+ net-tools \
21+ # hostname is used by Strimzi scripts to determine the Kafka node ID \
22+ hostname \
23+ # xargs is used by Kafka's own shell scripts \
24+ # find and xargs are also used in our Kafka Connect Build Dockerfiles \
25+ findutils \
26+ # Tar is used to unpack the downloaded binaries here in the Dockerfile \
27+ # Tar is also used in our Kafka Connect Build Dockerfiles \
28+ tar \
29+ # gzip is used to unpack the downloaded binaries here in the Dockerfile \
30+ # gzip is also used in our Kafka Connect Build Dockerfiles \
31+ gzip \
32+ # unzip is used in our Kafka Connect Build Dockerfiles \
33+ unzip \
1934 && microdnf clean all -y
2035
2136# Add kafka user with UID 1001
You can’t perform that action at this time.
0 commit comments