Skip to content

Commit

Permalink
DBZ-8088 Add MariaDB to debezium/connect images
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros authored and jpechane committed Jul 26, 2024
1 parent 772c213 commit 8e6fbd8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions connect/2.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ENV DEBEZIUM_VERSION="2.7.0.Final" \
MAVEN_REPOS_ADDITIONAL="" \
MONGODB_MD5=df1ad43f9e3ebdfa1ab4a52b7c28a49b \
MYSQL_MD5=154efb8d280613370f0925a4ce6d2ad9 \
MARIADB_MD5=d8083bb14d660fa02a3fdfffdd3c3cd0 \
POSTGRES_MD5=41bf19186ac1c2bddd3c50d6a6fd13c7 \
SQLSERVER_MD5=7cd6d68ec4ed48dac278d496852511da \
ORACLE_MD5=45a211d574bf1e1871733a71f2163756 \
Expand All @@ -22,6 +23,7 @@ ENV DEBEZIUM_VERSION="2.7.0.Final" \

RUN docker-maven-download debezium mongodb "$DEBEZIUM_VERSION" "$MONGODB_MD5" && \
docker-maven-download debezium mysql "$DEBEZIUM_VERSION" "$MYSQL_MD5" && \
docker-maven-download debezium mariadb "$DEBEZIUM_VERSION" "$MARIADB_MD5" && \
docker-maven-download debezium postgres "$DEBEZIUM_VERSION" "$POSTGRES_MD5" && \
docker-maven-download debezium sqlserver "$DEBEZIUM_VERSION" "$SQLSERVER_MD5" && \
docker-maven-download debezium oracle "$DEBEZIUM_VERSION" "$ORACLE_MD5" && \
Expand Down
2 changes: 2 additions & 0 deletions connect/3.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ENV DEBEZIUM_VERSION="3.0.0.Alpha1" \
MAVEN_REPOS_ADDITIONAL="" \
MONGODB_MD5=98a232390c38b6c66f0d23ee391cada6 \
MYSQL_MD5=b9863ba826225754784925c0167f4b03 \
MARIADB_MD5=c77e85817685a17d22fbae61d8b39d46 \
POSTGRES_MD5=b98f1583f9799a80ae60d85dc09981d1 \
SQLSERVER_MD5=5f4b255553395b4cbd7860f11a9c47d7 \
ORACLE_MD5=8fdcef71f46aa3ec1b04264791a4537f \
Expand All @@ -22,6 +23,7 @@ ENV DEBEZIUM_VERSION="3.0.0.Alpha1" \

RUN docker-maven-download debezium mongodb "$DEBEZIUM_VERSION" "$MONGODB_MD5" && \
docker-maven-download debezium mysql "$DEBEZIUM_VERSION" "$MYSQL_MD5" && \
docker-maven-download debezium mariadb "$DEBEZIUM_VERSION" "$MARIADB_MD5" && \
docker-maven-download debezium postgres "$DEBEZIUM_VERSION" "$POSTGRES_MD5" && \
docker-maven-download debezium sqlserver "$DEBEZIUM_VERSION" "$SQLSERVER_MD5" && \
docker-maven-download debezium oracle "$DEBEZIUM_VERSION" "$ORACLE_MD5" && \
Expand Down
2 changes: 1 addition & 1 deletion connect/snapshot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV DEBEZIUM_VERSION=$DEBEZIUM_VERSION \
#
# Download the snapshot version of the connectors and then install them into the `$KAFKA_CONNECT_PLUGINS_DIR/debezium` directory...
#
RUN for CONNECTOR in {mysql,mongodb,postgres,sqlserver,oracle,db2,jdbc,spanner,vitess,informix,ibmi}; do \
RUN for CONNECTOR in {mysql,mongodb,postgres,sqlserver,oracle,db2,jdbc,spanner,vitess,informix,ibmi,mariadb}; do \
SNAPSHOT_VERSION=$(curl --silent -fSL $MAVEN_OSS_SNAPSHOT/io/debezium/debezium-connector-$CONNECTOR/$DEBEZIUM_VERSION/maven-metadata.xml | awk -F'<[^>]+>' '/<extension>tar.gz<\/extension>/ {getline; print $2; exit}'); \
echo "Downloading and installing debezium-connector-$CONNECTOR-$SNAPSHOT_VERSION-plugin.tar.gz ..." ; \
curl --silent -fSL -o /tmp/plugin.tar.gz \
Expand Down

0 comments on commit 8e6fbd8

Please sign in to comment.