Created
March 2, 2022 19:13
-
-
Save jdao-rh/2c5fb5f6a88d456553360cb920c2ee05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/kafka/Dockerfile.ubi8 b/kafka/Dockerfile.ubi8 | |
index 4b3483c9..f44d3732 100644 | |
--- a/kafka/Dockerfile.ubi8 | |
+++ b/kafka/Dockerfile.ubi8 | |
@@ -14,7 +14,7 @@ | |
# limitations under the License. | |
ARG DOCKER_UPSTREAM_REGISTRY | |
-ARG DOCKER_UPSTREAM_TAG=ubi8-latest | |
+ARG DOCKER_UPSTREAM_TAG=6.0.5 | |
FROM ${DOCKER_UPSTREAM_REGISTRY}confluentinc/cp-base-new:${DOCKER_UPSTREAM_TAG} | |
@@ -34,8 +34,8 @@ ARG BUILD_NUMBER=-1 | |
LABEL io.confluent.docker.build.number=$BUILD_NUMBER | |
LABEL io.confluent.docker.git.repo="confluentinc/kafka-images" | |
-ARG CONFLUENT_VERSION | |
-ARG CONFLUENT_PACKAGES_REPO | |
+ARG CONFLUENT_VERSION=6.0.5 | |
+ARG CONFLUENT_PACKAGES_REPO="https://packages.confluent.io/rpm/6.0" | |
ARG CONFLUENT_PLATFORM_LABEL | |
# allow arg override of required env params | |
@@ -74,7 +74,7 @@ enabled=1 " > /etc/yum.repos.d/confluent.repo \ | |
&& echo "===> Setting up ${COMPONENT} dirs" \ | |
&& mkdir -p /var/lib/${COMPONENT}/data /etc/${COMPONENT}/secrets \ | |
&& chmod -R g+w /etc/kafka /var/lib/${COMPONENT}/data /etc/${COMPONENT}/secrets \ | |
- && chown -R appuser:appuser /var/log/kafka /var/log/confluent /var/lib/kafka /var/lib/zookeeper /etc/${COMPONENT}/secrets | |
+ && chown -R appuser:appuser /var/log/kafka /var/log/confluent /var/lib/kafka /var/lib/zookeeper /etc/${COMPONENT}/secrets /etc/kafka | |
VOLUME ["/var/lib/${COMPONENT}/data", "/etc/${COMPONENT}/secrets"] | |
+ RUN rm -rf /usr/share/java/kafka/rocksdbjni-5.18.4.jar /usr/share/java/kafka/zstd-jni-1.4.4-7.jar /usr/share/java/cp-base-new/zstd-jni-1.4.4-7.jar | |
+ COPY rocksdbjni-6.19.3-linux64.jar /usr/share/java/kafka/rocksdbjni-6.19.3.jar | |
+ COPY zstd-jni-1.5.1-1.jar /usr/share/java/kafka/ | |
+ COPY zstd-jni-1.5.1-1.jar /usr/share/java/cp-base-new/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment