Update base image to v3
This commit is contained in:
parent
426859e3d2
commit
d3682bc960
18
Dockerfile
18
Dockerfile
|
@ -1,4 +1,4 @@
|
||||||
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
|
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
|
||||||
|
|
||||||
RUN mkdir -p /app/code
|
RUN mkdir -p /app/code
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
|
@ -26,15 +26,15 @@ RUN a2enmod headers expires deflate mime dir rewrite setenvif
|
||||||
|
|
||||||
RUN rm -rf /var/lib/php && ln -s /run/php /var/lib/php
|
RUN rm -rf /var/lib/php && ln -s /run/php /var/lib/php
|
||||||
|
|
||||||
RUN crudini --set /etc/php/7.3/apache2/php.ini PHP upload_max_filesize 64M && \
|
RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 64M && \
|
||||||
crudini --set /etc/php/7.3/apache2/php.ini PHP post_max_size 64M && \
|
crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 64M && \
|
||||||
crudini --set /etc/php/7.3/apache2/php.ini PHP memory_limit 64M && \
|
crudini --set /etc/php/7.4/apache2/php.ini PHP memory_limit 64M && \
|
||||||
crudini --set /etc/php/7.3/apache2/php.ini Session session.save_path /run/php/session && \
|
crudini --set /etc/php/7.4/apache2/php.ini Session session.save_path /run/php/session && \
|
||||||
crudini --set /etc/php/7.3/apache2/php.ini Session session.gc_probability 1 && \
|
crudini --set /etc/php/7.4/apache2/php.ini Session session.gc_probability 1 && \
|
||||||
crudini --set /etc/php/7.3/apache2/php.ini Session session.gc_divisor 100
|
crudini --set /etc/php/7.4/apache2/php.ini Session session.gc_divisor 100
|
||||||
|
|
||||||
RUN ln -s /app/data/php.ini /etc/php/7.3/apache2/conf.d/99-cloudron.ini && \
|
RUN ln -s /app/data/php.ini /etc/php/7.4/apache2/conf.d/99-cloudron.ini && \
|
||||||
ln -s /app/data/php.ini /etc/php/7.3/cli/conf.d/99-cloudron.ini
|
ln -s /app/data/php.ini /etc/php/7.4/cli/conf.d/99-cloudron.ini
|
||||||
|
|
||||||
ADD start.sh /app/code/start.sh
|
ADD start.sh /app/code/start.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue