clickhouse-sink-connector/docker/Dockerfile-debezium-base
2022-05-06 20:33:43 +03:00

21 lines
813 B
Plaintext

FROM debezium/connect-base:1.9.2.Final
LABEL maintainer="Altinity"
USER root:root
# Copy sink-connector
COPY target/*.jar /kafka/connect/clickhouse-kafka-sink-connector/
# Copy libs
COPY deploy/libs/* /kafka/connect/clickhouse-kafka-sink-connector/
# Copy apicurio
RUN 'curl' '-L' '--output' '/kafka/connect/clickhouse-kafka-sink-connector/apicurio.tgz' 'https://repo1.maven.org/maven2/io/apicurio/apicurio-registry-distro-connect-converter/2.1.5.Final/apicurio-registry-distro-connect-converter-2.1.5.Final.tar.gz' \
&& 'tar' 'xvfz' '/kafka/connect/clickhouse-kafka-sink-connector/apicurio.tgz' '-C' '/kafka/connect/clickhouse-kafka-sink-connector' \
&& 'rm' '-vf' '/kafka/connect/clickhouse-kafka-sink-connector/apicurio.tgz/apicurio.tgz'
RUN chown -R kafka:kafka /kafka/connect/
USER kafka