use latest base image
This commit is contained in:
parent
c89fca80bc
commit
01e3d7ad53
18
Dockerfile
18
Dockerfile
|
@ -1,8 +1,4 @@
|
||||||
FROM cloudron/base:0.10.0
|
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
|
||||||
|
|
||||||
RUN apt-get update \
|
|
||||||
&& apt-get -y install php php-curl php-gmp php-intl php-mbstring php-xml php-zip \
|
|
||||||
libapache2-mod-php mysql-client php-mysql
|
|
||||||
|
|
||||||
RUN mkdir -p /app/code
|
RUN mkdir -p /app/code
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
|
@ -31,12 +27,12 @@ RUN rm -rf /var/lib/php \
|
||||||
&& ln -s /run/php /var/lib/php \
|
&& ln -s /run/php /var/lib/php \
|
||||||
&& mkdir -p /run/php/session
|
&& mkdir -p /run/php/session
|
||||||
|
|
||||||
RUN crudini --set /etc/php/7.0/apache2/php.ini PHP upload_max_filesize 64M && \
|
RUN crudini --set /etc/php/7.2/apache2/php.ini PHP upload_max_filesize 64M && \
|
||||||
crudini --set /etc/php/7.0/apache2/php.ini PHP post_max_size 64M && \
|
crudini --set /etc/php/7.2/apache2/php.ini PHP post_max_size 64M && \
|
||||||
crudini --set /etc/php/7.0/apache2/php.ini PHP memory_limit 64M && \
|
crudini --set /etc/php/7.2/apache2/php.ini PHP memory_limit 64M && \
|
||||||
crudini --set /etc/php/7.0/apache2/php.ini Session session.save_path /run/php/session && \
|
crudini --set /etc/php/7.2/apache2/php.ini Session session.save_path /run/php/session && \
|
||||||
crudini --set /etc/php/7.0/apache2/php.ini Session session.gc_probability 1 && \
|
crudini --set /etc/php/7.2/apache2/php.ini Session session.gc_probability 1 && \
|
||||||
crudini --set /etc/php/7.0/apache2/php.ini Session session.gc_divisor 100
|
crudini --set /etc/php/7.2/apache2/php.ini Session session.gc_divisor 100
|
||||||
|
|
||||||
ADD start.sh /app/code/start.sh
|
ADD start.sh /app/code/start.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue