File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,7 @@ RUN chmod 777 /tmp && chmod +t /tmp
77RUN /tmp/setup/php-extensions.sh
88RUN /tmp/setup/oci8-extension.sh
99
10- RUN mkdir /var/www/moodledata && chown www-data /var/www/moodledata
10+ RUN mkdir /var/www/moodledata && chown www-data /var/www/moodledata && \
11+ mkdir /var/www/phpunitdata && chown www-data /var/www/phpunitdata && \
12+ mkdir /var/www/behatdata && chown www-data /var/www/behatdata && \
13+ mkdir /var/www/behatfaildumps && chown www-data /var/www/behatfaildumps
Original file line number Diff line number Diff line change @@ -22,6 +22,14 @@ $ docker run --name web0 -p 8080:80 -v $PWD:/var/www/html danpoltawski/moodle-p
2222* Serves wwroot configured at /var/www/html/
2323* Verified by [ automated tests] ( https://travis-ci.org/danpoltawski/moodle-php-apache )
2424
25+ # Directories
26+
27+ To faciliate testing and easy setup the following directories are created and owned by www-data by default:
28+ * ` /var/www/moodledata `
29+ * ` /var/www/phpunitdata `
30+ * ` /var/www/behatdata `
31+ * ` /var/www/behatfaildumps `
32+
2533
2634# See also
2735This container is part of a set of containers for Moodle development, see also:
You can’t perform that action at this time.
0 commit comments