Browse Source

Try to get more useful info from travis about cakephp failures (#3456)

* Try to get more useful info from travis about cakephp failures

* Try to fix "/cakephp/app/tmp/cache/ is not writable" error in travis

* Try to fix permission died on "/cakephp/app/tmp/logs"

* Revert "Try to get more useful info from travis about cakephp failures"

This reverts commit 1bede0a20caa60da0fa4473ece240919ecaf868f.
Michael Hixson 7 years ago
parent
commit
0216bb3188

+ 0 - 0
frameworks/PHP/cakephp/app/tmp/cache/models/.gitkeep


+ 0 - 0
frameworks/PHP/cakephp/app/tmp/cache/persistent/.gitkeep


+ 5 - 0
frameworks/PHP/cakephp/cakephp.dockerfile

@@ -3,6 +3,11 @@ FROM tfb/php5:latest
 ADD ./ /cakephp
 WORKDIR /cakephp
 
+RUN mkdir -p app/tmp/cache/models
+RUN mkdir -p app/tmp/cache/persistent
+RUN mkdir -p app/tmp/logs
+RUN chmod -R 777 app/tmp
+
 RUN composer.phar install --no-progress
 
 CMD service php5.6-fpm start && \