Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 981c687

Browse files
committed
fix /usr/local/lib/postgresql/bitcode/ in test docker image
1 parent 00d35da commit 981c687

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ ADD . /pg/testdir
2929
# Grant privileges
3030
RUN chown -R postgres:postgres ${PGDATA} && \
3131
chown -R postgres:postgres /pg/testdir && \
32-
chmod a+rwx /usr/local/lib/postgresql && \
33-
chmod a+rwx /usr/local/share/postgresql/extension
32+
chmod a+rwx /usr/local/share/postgresql/extension && \
33+
find /usr/local/lib/postgresql -type d -print0 | xargs -0 chmod a+rwx
3434

3535
COPY run_tests.sh /run.sh
3636
RUN chmod 755 /run.sh

0 commit comments

Comments
 (0)