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 08313b0 commit 47edce2Copy full SHA for 47edce2
Dockerfile.tmpl
@@ -19,10 +19,10 @@ RUN if [ "${CHECK_CODE}" = "false" ] ; then \
19
apk --no-cache add curl python3 gcc clang make musl-dev --repository http://dl-cdn.alpinelinux.org/alpine/v3.6/main;\
20
fi
21
22
-RUN mkdir -p /pg/data && \
+RUN mkdir -p ${PGDATA} && \
23
mkdir /pg/src && \
24
chown postgres:postgres ${PGDATA} && \
25
- chmod a+rwx /usr/local/lib/postgresql && \
+ chmod -R a+rwx /usr/local/lib/postgresql && \
26
chmod a+rwx /usr/local/share/postgresql/extension
27
28
ADD . /pg/src
0 commit comments