Skip to content

Commit

Permalink
DBZ-8564 Docker Hub registry not used
Browse files Browse the repository at this point in the history
  • Loading branch information
jpechane committed Jan 9, 2025
1 parent f92655d commit cd7d0c4
Show file tree
Hide file tree
Showing 88 changed files with 35 additions and 2,687 deletions.
3 changes: 1 addition & 2 deletions README-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ appropriate runner. Note that the scripts expects the registry listening on http

## Building single images

You can build a single images running either `./build-mongo-multiplatform.sh` or `./build-postgres-multiplatform.sh`
You can build a single image running ./build-postgres-multiplatform.sh`.

Both of this scripts works with the env variables described above and expect two arguments:

Expand All @@ -85,7 +85,6 @@ Examples:

```bash
./build-postgres-multiarch.sh 14-alpine "linux/amd64,linux/arm64"
./build-mongo-multiarch.sh 3.2 "linux/amd64"
```

For building a single Debezium version for multiple platforms, you can run
Expand Down
10 changes: 1 addition & 9 deletions build-all-multiplatform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

COMPONENTS=$*
if [ -z "$COMPONENTS" ]; then
COMPONENTS="mongo postgres debezium"
COMPONENTS="postgres debezium"
fi;

if [ -z "$MULTIPLATFORM_PLATFORMS" ]; then
Expand All @@ -29,17 +29,9 @@ function shouldBuild() {
# with multi platform build
DEBEZIUM_SINGLEPLATFORM_VERSIONS="1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8"

MONGO_MULTIPLATFORM_VERSIONS="5.0 6.0 7.0"

POSTGRES_VERSIONS="12 13 14"
POSTGRES_MULTIPLATFORM_VERSIONS="15 16 17 12-alpine 13-alpine 14-alpine 15-alpine 16-alpine 17-alpine"

if shouldBuild "mongo"; then
for MONGO_VERSION in $MONGO_MULTIPLATFORM_VERSIONS; do
./build-mongo-multiplatform.sh "$MONGO_VERSION" "${MULTIPLATFORM_PLATFORMS}"
done
fi;

if shouldBuild "postgres"; then
for POSTGRES_VERSION in $POSTGRES_VERSIONS; do
./build-postgres-multiplatform.sh "$POSTGRES_VERSION" "linux/amd64"
Expand Down
5 changes: 0 additions & 5 deletions build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,8 @@ DEBEZIUM_VERSION="3.0"
if [ -z "$DEBEZIUM_VERSIONS" ]; then
DEBEZIUM_VERSIONS="$DEBEZIUM_VERSION"
fi
MONGO_VERSIONS="5.0 6.0 7.0"
POSTGRES_VERSIONS="12 12-alpine 13 13-alpine 14 14-alpine 15 15-alpine 16 16-alpine 17 17-alpine"

for MONGO_VERSION in $MONGO_VERSIONS; do
./build-mongo.sh "$MONGO_VERSION"
done

for POSTGRES_VERSION in $POSTGRES_VERSIONS; do
./build-postgres.sh "$POSTGRES_VERSION"
done
Expand Down
47 changes: 0 additions & 47 deletions build-mongo-multiplatform.sh

This file was deleted.

31 changes: 0 additions & 31 deletions build-mongo.sh

This file was deleted.

2 changes: 1 addition & 1 deletion examples/mariadb/2.7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mariadb:11.1.2
FROM mirror.gcr.io/library/mariadb:11.1.2

LABEL maintainer="Debezium Community"

Expand Down
2 changes: 1 addition & 1 deletion examples/mariadb/3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mariadb:11.1.2
FROM mirror.gcr.io/library/mariadb:11.1.2

LABEL maintainer="Debezium Community"

Expand Down
2 changes: 1 addition & 1 deletion examples/mariadb/3.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mariadb:11.1.2
FROM mirror.gcr.io/library/mariadb:11.1.2

LABEL maintainer="Debezium Community"

Expand Down
2 changes: 1 addition & 1 deletion examples/mongodb/2.7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mongo:6.0
FROM mirror.gcr.io/library/mongo:6.0

LABEL maintainer="Debezium Community"

Expand Down
2 changes: 1 addition & 1 deletion examples/mongodb/3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mongo:6.0
FROM mirror.gcr.io/library/mongo:6.0

LABEL maintainer="Debezium Community"

Expand Down
2 changes: 1 addition & 1 deletion examples/mongodb/3.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mongo:6.0
FROM mirror.gcr.io/library/mongo:6.0

LABEL maintainer="Debezium Community"

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql-gtids/2.7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

LABEL maintainer="Debezium Community"

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql-gtids/3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

LABEL maintainer="Debezium Community"

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql-gtids/3.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

LABEL maintainer="Debezium Community"

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql-replication/master/2.7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

ENV MYSQL_ROOT_PASSWORD=debezium

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql-replication/master/3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

ENV MYSQL_ROOT_PASSWORD=debezium

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql-replication/master/3.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

ENV MYSQL_ROOT_PASSWORD=debezium

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql-replication/replica/2.7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

ENV MYSQL_ROOT_PASSWORD=debezium

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql-replication/replica/3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

ENV MYSQL_ROOT_PASSWORD=debezium

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql-replication/replica/3.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

ENV MYSQL_ROOT_PASSWORD=debezium

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql/2.7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

LABEL maintainer="Debezium Community"

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql/3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

LABEL maintainer="Debezium Community"

Expand Down
2 changes: 1 addition & 1 deletion examples/mysql/3.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.2
FROM container-registry.oracle.com/mysql/community-server/mysql:8.2

LABEL maintainer="Debezium Community"

Expand Down
10 changes: 0 additions & 10 deletions mongo-initiator/3.2/Dockerfile

This file was deleted.

26 changes: 0 additions & 26 deletions mongo-initiator/3.2/README.md

This file was deleted.

Loading

0 comments on commit cd7d0c4

Please sign in to comment.