Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.15.x] Switch from docker.io to gcr.io for container images #327

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion artemis-elasticsearch/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Now you can access Artemis on localhost:8161

[source,shell]
----
docker run -d --rm --name elasticsearch -p 9200:9200 -p 9300:9300 -it -m 4GB -e "discovery.type=single-node" -e "xpack.security.enabled=false" docker.io/elastic/elasticsearch:8.13.2
docker run -d --rm --name elasticsearch -p 9200:9200 -p 9300:9300 -it -m 4GB -e "discovery.type=single-node" -e "xpack.security.enabled=false" mirror.gcr.io/elastic/elasticsearch:8.13.2
----

Now you can access Elasticsearch on localhost:9200
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
public class ElasticSearchTestResource implements QuarkusTestResourceLifecycleManager {
private static final Logger LOG = LoggerFactory.getLogger(ElasticSearchTestResource.class);

private static final String IMAGE_NAME = "docker.io/elastic/elasticsearch:8.13.2";
private static final String IMAGE_NAME = "mirror.gcr.io/elastic/elasticsearch:8.13.2";
private ElasticsearchContainer container;

@Override
Expand Down
4 changes: 2 additions & 2 deletions jdbc-datasource/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ docker run -p 5432:5432 \
-e POSTGRES_PASSWORD=1234567@8_source \
-e POSTGRES_DB=source_db \
-v ${PWD}/src/test/resources/init-source-db.sql:/docker-entrypoint-initdb.d/init-source-db.sql \
docker.io/postgres:15.0
mirror.gcr.io/postgres:15.0
----

In a second terminal, let's start the target database:
Expand All @@ -35,7 +35,7 @@ docker run -p 5433:5432 \
-e POSTGRES_PASSWORD=1234567@8_target \
-e POSTGRES_DB=target_db \
-v ${PWD}/src/test/resources/init-target-db.sql:/docker-entrypoint-initdb.d/init-target-db.sql \
docker.io/postgres:15.0
mirror.gcr.io/postgres:15.0
----

== Running the application in dev mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class PostgresSourceDatabaseTestResource<T extends GenericContainer> impl
private static final Logger LOG = LoggerFactory.getLogger(PostgresSourceDatabaseTestResource.class);

private static final int POSTGRES_PORT = 5432;
private static final String POSTGRES_IMAGE = "docker.io/postgres:15.0";
private static final String POSTGRES_IMAGE = "mirror.gcr.io/postgres:15.0";

private static final String POSTGRES_SOURCE_DB_NAME = "source_db";
private static final String POSTGRES_SOURCE_PASSWORD = "1234567@8_source";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class PostgresTargetDatabaseTestResource<T extends GenericContainer> impl
private static final Logger LOG = LoggerFactory.getLogger(PostgresTargetDatabaseTestResource.class);

private static final int POSTGRES_PORT = 5432;
private static final String POSTGRES_IMAGE = "docker.io/postgres:15.0";
private static final String POSTGRES_IMAGE = "mirror.gcr.io/postgres:15.0";

private static final String POSTGRES_TARGET_DB_NAME = "target_db";
private static final String POSTGRES_TARGET_PASSWORD = "1234567@8_target";
Expand Down
2 changes: 1 addition & 1 deletion jpa-idempotent-repository/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ So, in a first shell, please launch a MariaDB database container:

[source,shell]
----
docker run -e MARIADB_USER=mariadb -e MARIADB_PASSWORD=mariadb -e MARIADB_DATABASE=my-db -e MARIADB_ROOT_PASSWORD=secret -p 3306:3306 docker.io/mariadb:10.11
docker run -e MARIADB_USER=mariadb -e MARIADB_PASSWORD=mariadb -e MARIADB_DATABASE=my-db -e MARIADB_ROOT_PASSWORD=secret -p 3306:3306 mirror.gcr.io/mariadb:10.11
----

If successful, you should see the message `mariadbd: ready for connections` output to the console.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
spec:
containers:
- name: mariadb-database
image: docker.io/mariadb:10.11
image: mirror.gcr.io/mariadb:10.11
ports:
- containerPort: 3306
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
spec:
containers:
- name: mariadb-database
image: docker.io/mariadb:10.11
image: mirror.gcr.io/mariadb:10.11
ports:
- containerPort: 3306
env:
Expand Down
Loading