Skip to content

Commit f0ca18b

Browse files
committed
use postgres image for tests
1 parent d792540 commit f0ca18b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
postgres:
3-
image: postgres:16-alpine
3+
image: postgres
44
container_name: duron-postgres
55
environment:
66
POSTGRES_USER: duron

packages/duron/test/docker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async function waitForContainer(containerName: string, expectedMessage: string)
8282

8383
export const getPostgresConnection = async ({ containerName, port }: { containerName: string; port: number }) => {
8484
await createContainer({
85-
image: 'postgres:16-alpine',
85+
image: 'postgres',
8686
containerName,
8787
ports: [port, 5432],
8888
environment: {

0 commit comments

Comments
 (0)