File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 11# Don't send some content to the Docker host when building
2+ img
3+ travis
24.git
35.travis.yml
Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ ENV LANG=C.UTF-8 PGDATA=/pg/data
1515RUN mkdir -p ${PGDATA} && \
1616 mkdir -p /pg/testdir
1717
18- # Grant privileges
19- RUN chown postgres:postgres ${PGDATA} && \
20- chown postgres:postgres /pg/testdir && \
21- chmod a+rwx /usr/local/lib/postgresql && \
22- chmod a+rwx /usr/local/share/postgresql/extension
23-
2418COPY run_tests.sh /run.sh
2519RUN chmod 755 /run.sh
2620
2721COPY . /pg/testdir
2822WORKDIR /pg/testdir
2923
24+ # Grant privileges
25+ RUN chown postgres:postgres ${PGDATA} && \
26+ chown -R postgres:postgres /pg/testdir && \
27+ chmod a+rwx /usr/local/lib/postgresql && \
28+ chmod a+rwx /usr/local/share/postgresql/extension
29+
3030USER postgres
3131ENTRYPOINT LEVEL=${LEVEL} /run.sh
You can’t perform that action at this time.
0 commit comments