Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
To avoid issues with changed default values, we replace the values regardless of what their default values are.
  • Loading branch information
necrophcodr committed Aug 3, 2016
1 parent 92edb68 commit f24c393
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ RUN ln -s /etc/apache2/sites-available/phabricator.conf \
# Setup phabricator
RUN mkdir -p /opt/phabricator/conf/local /var/repo
ADD local.json /opt/phabricator/conf/local/local.json
RUN sed -e 's/post_max_size = 8M/post_max_size = 32M/' \
-e 's/upload_max_filesize = 2M/upload_max_filesize = 32M/' \
-e 's/;opcache.validate_timestamps=1/opcache.validate_timestamps=0/' \
RUN sed -e 's/post_max_size =.*/post_max_size = 32M/' \
-e 's/upload_max_filesize =.*/upload_max_filesize = 32M/' \
-e 's/;opcache.validate_timestamps=.*/opcache.validate_timestamps=0/' \
-i /etc/php5/apache2/php.ini
RUN ln -s /usr/lib/git-core/git-http-backend /opt/phabricator/support/bin
RUN /opt/phabricator/bin/config set phd.user "root"
Expand Down

0 comments on commit f24c393

Please sign in to comment.