Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00d35da commit 981c687Copy full SHA for 981c687
Dockerfile.tmpl
@@ -29,8 +29,8 @@ ADD . /pg/testdir
29
# Grant privileges
30
RUN chown -R postgres:postgres ${PGDATA} && \
31
chown -R postgres:postgres /pg/testdir && \
32
- chmod a+rwx /usr/local/lib/postgresql && \
33
- chmod a+rwx /usr/local/share/postgresql/extension
+ chmod a+rwx /usr/local/share/postgresql/extension && \
+ find /usr/local/lib/postgresql -type d -print0 | xargs -0 chmod a+rwx
34
35
COPY run_tests.sh /run.sh
36
RUN chmod 755 /run.sh
0 commit comments