From 2de7d54e76e8d5183ef91bd255db975264d172cc Mon Sep 17 00:00:00 2001 From: Jiri Pechanec Date: Thu, 16 Jan 2025 05:49:45 +0100 Subject: [PATCH] DBZ-8564 Use buildkit from mirror; use mirror in Postgres --- postgres/12/Dockerfile | 2 +- postgres/13/Dockerfile | 2 +- postgres/14/Dockerfile | 2 +- postgres/16/Dockerfile | 2 +- postgres/17/Dockerfile | 2 +- setup-local-builder.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/postgres/12/Dockerfile b/postgres/12/Dockerfile index adb0ea38..be4fdfdf 100644 --- a/postgres/12/Dockerfile +++ b/postgres/12/Dockerfile @@ -36,7 +36,7 @@ RUN git clone https://github.com/eulerto/wal2json -b master --single-branch \ && rm -rf wal2json -FROM postgres:12-bullseye +FROM mirror.gcr.io/library/postgres:12-bullseye LABEL maintainer="Debezium Community" diff --git a/postgres/13/Dockerfile b/postgres/13/Dockerfile index 6c388b9f..4ee2f7f9 100644 --- a/postgres/13/Dockerfile +++ b/postgres/13/Dockerfile @@ -36,7 +36,7 @@ RUN git clone https://github.com/eulerto/wal2json -b master --single-branch \ && rm -rf wal2json -FROM postgres:13-bullseye +FROM mirror.gcr.io/library/postgres:13-bullseye LABEL maintainer="Debezium Community" diff --git a/postgres/14/Dockerfile b/postgres/14/Dockerfile index cd11eed4..080e82f2 100644 --- a/postgres/14/Dockerfile +++ b/postgres/14/Dockerfile @@ -36,7 +36,7 @@ RUN git clone https://github.com/eulerto/wal2json -b master --single-branch \ && rm -rf wal2json -FROM postgres:14-bullseye +FROM mirror.gcr.io/library/postgres:14-bullseye LABEL maintainer="Debezium Community" diff --git a/postgres/16/Dockerfile b/postgres/16/Dockerfile index 42655729..b61afc8f 100644 --- a/postgres/16/Dockerfile +++ b/postgres/16/Dockerfile @@ -27,7 +27,7 @@ RUN git clone https://github.com/debezium/postgres-decoderbufs -b $PLUGIN_VERSIO && rm -rf postgres-decoderbufs -FROM postgres:16-bullseye +FROM mirror.gcr.io/library/postgres:16-bullseye LABEL maintainer="Debezium Community" diff --git a/postgres/17/Dockerfile b/postgres/17/Dockerfile index 17638006..1e3681b7 100644 --- a/postgres/17/Dockerfile +++ b/postgres/17/Dockerfile @@ -27,7 +27,7 @@ RUN git clone https://github.com/debezium/postgres-decoderbufs -b $PLUGIN_VERSIO && rm -rf postgres-decoderbufs -FROM postgres:17-bullseye +FROM mirror.gcr.io/library/postgres:17-bullseye LABEL maintainer="Debezium Community" diff --git a/setup-local-builder.sh b/setup-local-builder.sh index 5a26278f..0d4b3247 100755 --- a/setup-local-builder.sh +++ b/setup-local-builder.sh @@ -13,4 +13,4 @@ name=debezium-container-builder docker buildx ls | grep -q $name && docker buildx rm $name -docker buildx create --driver-opt network=host --use --name $name +docker buildx create --driver-opt network=host --driver-opt image=mirror.gcr.io/moby/buildkit --use --name $name