Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit78ec4f3

Browse files
committed
Recursively chown
1 parentdf75d40 commit78ec4f3

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

‎.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Don't send some content to the Docker host when building
2+
img
3+
travis
24
.git
35
.travis.yml

‎travis/Dockerfile.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ ENV LANG=C.UTF-8 PGDATA=/pg/data
1515
RUNmkdir -p ${PGDATA} && \
1616
mkdir -p /pg/testdir
1717

18-
# Grant privileges
19-
RUNchown 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-
2418
COPY run_tests.sh /run.sh
2519
RUN chmod 755 /run.sh
2620

2721
COPY . /pg/testdir
2822
WORKDIR /pg/testdir
2923

24+
# Grant privileges
25+
RUNchown 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+
3030
USER postgres
3131
ENTRYPOINT LEVEL=${LEVEL} /run.sh

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp