Skip to content

Instantly share code, notes, and snippets.

@maxisam
Created July 15, 2022 19:59
Show Gist options
  • Save maxisam/79d5759f99e8b03f89202a241ec54f3a to your computer and use it in GitHub Desktop.
Save maxisam/79d5759f99e8b03f89202a241ec54f3a to your computer and use it in GitHub Desktop.
Debezium Connector Dockerfile
ARG STRIMZI_VERSION="0.28.0"
ARG KAFKA_VERSION="3.1.0"
ARG DEBEZIUM_VERSION="1.9.5.Final"
FROM quay.io/debezium/connect:${DEBEZIUM_VERSION} as connectors
FROM quay.io/strimzi/kafka:${STRIMZI_VERSION}-kafka-${KAFKA_VERSION}
USER root:root
ARG DEBEZIUM_CONNECTOR="sqlserver"
COPY --from=connectors /kafka/connect/debezium-connector-${DEBEZIUM_CONNECTOR}/ /opt/kafka/plugins/debezium-connector-${DEBEZIUM_CONNECTOR}/
RUN sed -i -e 's/RSA keySize < 2048,//g' /usr/lib/jvm/java-11-openjdk-11.0.14.0.9-2.el8_5.x86_64/conf/security/java.security \
& sed -i -e 's/, RSA keySize < 2048//g' /etc/crypto-policies/back-ends/java.config
USER 1001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment