You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Download and extract the Strimzi Kafka Operator tar file
57
+
# Add Kafka Scripts
58
+
# Strimzi Step 1: Copy Strimzi Kafka scripts (e.g., kafka_run.sh) from base image
59
+
#Exclude non-strimzi scripts (i.e we only need ones defined here https://github.com/strimzi/strimzi-kafka-operator/tree/0.47.0/docker-images/kafka-based/kafka/scripts)
62
60
#####
63
-
RUN curl -L https://github.com/strimzi/strimzi-kafka-operator/archive/$STRIMZI_VERSION.tar.gz -o strimzi-kafka-operator.tar.gz && \
@@ -92,9 +86,6 @@ RUN cp -r /opt/kafka/libs/* /tmp/strimzi-extracted/kafka-libs
92
86
#####
93
87
RUN cp -r /opt/cruise-control/* /tmp/strimzi-extracted/cruise-control
94
88
95
-
# Clean up downloaded files to reduce image size
96
-
RUN rm -rf strimzi-kafka-operator.tar.gz strimzi-kafka-operator
97
-
98
89
# Verify the files were copied
99
90
RUN ls -la /tmp/strimzi-extracted/scripts /tmp/strimzi-extracted/kafka-exporter /tmp/strimzi-extracted/prometheus-jmx-exporter /tmp/strimzi-extracted/kafka-libs /tmp/strimzi-extracted/cruise-control
100
91
@@ -135,7 +126,7 @@ RUN set -eux ; \
135
126
apk cache clean;
136
127
137
128
#####
138
-
#Adapted Entrypoint in order to support
129
+
#Needed to support an adapted entrypoint in support of
139
130
# backwared-compatible BLC installations that may have been referencing
140
131
# a Confluent-based Kafka Image, with added support for initialization
141
132
# via the Strimzi Operator for K8 installations (https://strimzi.io/)
@@ -176,7 +167,7 @@ RUN mkdir -p ${KAFKA_HOME}/strimzi-scripts \
0 commit comments