From 9196cbc3d5a5de6fd390013f75c663a9af73601f Mon Sep 17 00:00:00 2001 From: Romain Grecourt Date: Wed, 4 Sep 2024 13:39:04 -0700 Subject: [PATCH] Fix DbClient PostgreSQL tests --- tests/integration/dbclient/pgsql/etc/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/dbclient/pgsql/etc/docker/Dockerfile b/tests/integration/dbclient/pgsql/etc/docker/Dockerfile index f0778bb6852..587335551ec 100644 --- a/tests/integration/dbclient/pgsql/etc/docker/Dockerfile +++ b/tests/integration/dbclient/pgsql/etc/docker/Dockerfile @@ -17,8 +17,9 @@ FROM oraclelinux:9-slim RUN microdnf install postgresql-server && microdnf clean all +RUN mkdir -p /var/run/postgresql && \ + chown postgres:postgres /var/run/postgresql ADD entrypoint.sh /usr/local/bin/ - ENV PGDATA /var/lib/pgsql/data USER postgres ENTRYPOINT ["entrypoint.sh"]