Skip to content

Commit 47edce2

Browse files
committed
Try to fix postgresql/bitcode permissions
1 parent 08313b0 commit 47edce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Dockerfile.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ RUN if [ "${CHECK_CODE}" = "false" ] ; then \
1919
apk --no-cache add curl python3 gcc clang make musl-dev --repository http://dl-cdn.alpinelinux.org/alpine/v3.6/main;\
2020
fi
2121

22-
RUN mkdir -p /pg/data && \
22+
RUN mkdir -p ${PGDATA} && \
2323
mkdir /pg/src && \
2424
chown postgres:postgres ${PGDATA} && \
25-
chmod a+rwx /usr/local/lib/postgresql && \
25+
chmod -R a+rwx /usr/local/lib/postgresql && \
2626
chmod a+rwx /usr/local/share/postgresql/extension
2727

2828
ADD . /pg/src

0 commit comments

Comments
 (0)