Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
fix: placed connector jars correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl committed Jun 5, 2023
1 parent a8a16b9 commit 7d087c3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cricketeerone-kafka-connect.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ confluent-hub install --no-prompt \
--component-dir /app/libs --worker-configs /app/resources/connect-distributed.properties -- \
confluentinc/kafka-connect-jdbc:10.7.2

curl -LSs https://cdn.mysql.com//Downloads/Connector-J/mysql-connector-j-8.0.33.tar.gz | tar xz
mv mysql-connector-j-8.0.33/mysql-connector-j-8.0.33.jar /app/libs/confluentinc-kafka-connect-jdbc/
rm -rf mysql-connector-j-8.0.33/
curl -o /app/libs/confluentinc-kafka-connect-jdbc/lib/mysql-connector-j-8.0.33.jar \
https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.0.33/mysql-connector-j-8.0.33.jar
curl -o /app/libs/confluentinc-kafka-connect-jdbc/lib/mariadb-java-client-3.1.4.jar \
https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/3.1.4/mariadb-java-client-3.1.4.jar
EOF

WORKDIR /
Expand Down

0 comments on commit 7d087c3

Please sign in to comment.