Skip to content

Commit 6f603de

Browse files
authored
Merge pull request #226 from sgsmob/main
grant read permissions in Dockerfiles to various internal libraries
2 parents 498be6f + eefb1f7 commit 6f603de

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

dev/docker/database/epidata/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ ENV MYSQL_PASSWORD pass
1010

1111
# provide DDL which will create empty tables at container startup
1212
COPY repos/delphi/delphi-epidata/src/ddl/*.sql /docker-entrypoint-initdb.d/
13+
14+
# grant access to SQL scripts
15+
RUN chmod o+r /docker-entrypoint-initdb.d/*.sql

dev/docker/web/epidata/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ COPY repos/delphi/delphi-epidata/src/server/*.php /var/www/html/epidata/
77

88
# point to the development database (overwrites the production config)
99
COPY repos/delphi/delphi-epidata/dev/docker/web/epidata/assets/database_config.php /var/www/html/epidata/
10+
11+
RUN chmod o+r /var/www/html/epidata/*

0 commit comments

Comments
 (0)