Skip to content

Commit b1c7d2b

Browse files
authored
Fix: Pull Postgres image automatically (#1495)
1 parent 1dd2be9 commit b1c7d2b

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

quarkus/admin/src/main/resources/application.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@ quarkus.index-dependency.guava.group-id=com.google.guava
4949
quarkus.index-dependency.guava.artifact-id=guava
5050
quarkus.index-dependency.protobuf.group-id=com.google.protobuf
5151
quarkus.index-dependency.protobuf.artifact-id=protobuf-java
52+
quarkus.datasource.devservices.image-name=postgres:17-alpine

quarkus/defaults/src/main/resources/application-test.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@
2121
# Per-test specific configuration should use QuarkusTestProfile
2222

2323
quarkus.log.file.enable=false
24+
quarkus.datasource.devservices.image-name=postgres:17-alpine

quarkus/test-commons/src/main/java/org/apache/polaris/test/commons/PostgresRelationalJdbcLifeCycleManagement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void init(Map<String, String> initArgs) {
4242
@SuppressWarnings("resource")
4343
public Map<String, String> start() {
4444
postgres =
45-
new PostgreSQLContainer<>(DockerImageName.parse("postgres:17"))
45+
new PostgreSQLContainer<>(DockerImageName.parse("postgres:17-alpine"))
4646
.withDatabaseName("polaris_db")
4747
.withUsername("polaris")
4848
.withPassword("polaris");

0 commit comments

Comments
 (0)