Skip to content

Commit f4efaf7

Browse files
committed
fix: PostgreSQL 17.5 Alpine 3.22πŸ«ΈπŸŒ€βœοΈπŸ“—πŸ§πŸ³
1 parent 74ba989 commit f4efaf7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

β€Žcompose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
postgres:
33
container_name: blog_postgres_db
4-
image: 'postgres:17-alpine3.20'
4+
image: 'postgres:17.5-alpine3.22'
55
environment:
66
- 'POSTGRES_DB=blog'
77
- 'POSTGRES_USER=yuji'

β€Žsrc/test/java/id/my/hendisantika/testcontainerpostgresql/SpringBootTestContainerPostgresqlApplicationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SpringBootTestContainerPostgresqlApplicationTests {
2727

2828
@Container
2929
@ServiceConnection
30-
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17.3-alpine3.21");
30+
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17.5-alpine3.22");
3131

3232
@Autowired
3333
TestRestTemplate restTemplate;

β€Žsrc/test/java/id/my/hendisantika/testcontainerpostgresql/repository/PostRepositoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class PostRepositoryTest {
3636

3737
@Container
3838
@ServiceConnection
39-
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17.3-alpine3.21");
39+
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17.5-alpine3.22");
4040

4141
@Autowired
4242
PostRepository postRepository;

0 commit comments

Comments
Β (0)