Should fix podman issues

This commit is contained in:
2020-10-22 09:44:33 +00:00
parent ea8747218e
commit a8a403dd67
2 changed files with 5 additions and 3 deletions

View File

@ -35,11 +35,13 @@ RUN sed -r -i "/^\s*(CustomLog|ErrorLog|Listen) /s/^/#/" /etc/apache2/apache2.co
sed -r -i "/^\s*Listen /s/^/#/" /etc/apache2/ports.conf && \
sed -r -i "/^\s*User /s/^/#/" /etc/apache2/apache2.conf && \
sed -r -i "/^\s*Group /s/^/#/" /etc/apache2/apache2.conf && \
touch /var/www/FreshRSS/Docker/env.txt
touch /var/www/FreshRSS/Docker/env.txt && \
mkdir /var/run/apache2/ && \
chown www-data:ww-data /var/run/apache2/
WORKDIR /var/www/FreshRSS
RUN chown -R :www-data . && \
chmod -R g+r . && chmod -R g+w ./data/ && \
chmod -R g+r . && chmod -R g+w ./data/ ./Docker/env.txt && \
find /etc/php*/ -name php.ini -exec sed -r -i "\\#^;?date.timezone#s#^.*#date.timezone = $TZ#" {} \; && \
find /etc/php*/ -name php.ini -exec sed -r -i "\\#^;?post_max_size#s#^.*#post_max_size = 32M#" {} \; && \
find /etc/php*/ -name php.ini -exec sed -r -i "\\#^;?upload_max_filesize#s#^.*#upload_max_filesize = 32M#" {} \;