Change file ownership for the init script This change gives the postgres user the right to execute the init sql script. This is required in order to create the gc user used by the gc-conductor plugin. Change-Id: Id6fd8fb4fb5a56e2f3f65a34ed60dcd969bfc0f2
diff --git a/src/test/docker/postgresql/Dockerfile b/src/test/docker/postgresql/Dockerfile index da40c6f..68b9df5 100644 --- a/src/test/docker/postgresql/Dockerfile +++ b/src/test/docker/postgresql/Dockerfile
@@ -3,3 +3,4 @@ FROM $POSTGRES_IMAGE ADD init_setup.sql /docker-entrypoint-initdb.d/ +RUN chown -R postgres:postgres /docker-entrypoint-initdb.d/*.sql