Skip to content

Commit 83c3ad3

Browse files
committed
remove log4shell scan
1 parent b96184f commit 83c3ad3

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

zookeeper/Dockerfile

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,6 @@ RUN curl "https://repo.stackable.tech/repository/packages/zookeeper/apache-zooke
3838
chmod +x "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" && \
3939
ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/jmx/jmx_prometheus_javaagent.jar
4040

41-
# ===
42-
# For earlier versions this script removes the .class file that contains the
43-
# vulnerable code.
44-
# TODO: This can be restricted to target only versions which do not honor the environment
45-
# varible that has been set above but this has not currently been implemented
46-
COPY shared/log4shell.sh /bin
47-
RUN /bin/log4shell.sh /stackable/apache-zookeeper-${PRODUCT}-bin
48-
49-
# Ensure no vulnerable files are left over
50-
# This will currently report vulnerable files being present, as it also alerts
51-
# on SocketNode.class, which we do not remove with our scripts. Further
52-
# investigation will be needed whether this should also be removed.
53-
COPY shared/log4shell_1.6.1-log4shell_Linux_x86_64 /bin/log4shell_scanner_x86_64
54-
COPY shared/log4shell_1.6.1-log4shell_Linux_aarch64 /bin/log4shell_scanner_aarch64
55-
COPY shared/log4shell_scanner /bin/log4shell_scanner
56-
RUN /bin/log4shell_scanner s /stackable/apache-zookeeper-${PRODUCT}-bin
57-
# ===
58-
5941
# END ZOOKEEPER BUILDER
6042
# ==============================================================================
6143

@@ -69,12 +51,12 @@ ARG RELEASE
6951
ARG STACKABLE_USER_UID
7052

7153
LABEL name="Apache ZooKeeper" \
72-
maintainer="[email protected]" \
73-
vendor="Stackable GmbH" \
74-
version="${PRODUCT}" \
75-
release="${RELEASE}" \
76-
summary="The Stackable image for Apache ZooKeeper." \
77-
description="This image is deployed by the Stackable Operator for Apache ZooKeeper."
54+
maintainer="[email protected]" \
55+
vendor="Stackable GmbH" \
56+
version="${PRODUCT}" \
57+
release="${RELEASE}" \
58+
summary="The Stackable image for Apache ZooKeeper." \
59+
description="This image is deployed by the Stackable Operator for Apache ZooKeeper."
7860

7961
RUN microdnf update && \
8062
microdnf clean all && \

0 commit comments

Comments
 (0)