diff --git a/Dockerfile b/Dockerfile index 46978f4..ef5fcbf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,4 @@ -FROM cloudron/base:0.10.0 - -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 +FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617 RUN mkdir -p /app/code WORKDIR /app/code @@ -31,12 +27,12 @@ RUN rm -rf /var/lib/php \ && ln -s /run/php /var/lib/php \ && mkdir -p /run/php/session -RUN crudini --set /etc/php/7.0/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.0/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.0/apache2/php.ini Session session.gc_probability 1 && \ - crudini --set /etc/php/7.0/apache2/php.ini Session session.gc_divisor 100 +RUN crudini --set /etc/php/7.2/apache2/php.ini PHP upload_max_filesize 64M && \ + crudini --set /etc/php/7.2/apache2/php.ini PHP post_max_size 64M && \ + crudini --set /etc/php/7.2/apache2/php.ini PHP memory_limit 64M && \ + crudini --set /etc/php/7.2/apache2/php.ini Session session.save_path /run/php/session && \ + crudini --set /etc/php/7.2/apache2/php.ini Session session.gc_probability 1 && \ + crudini --set /etc/php/7.2/apache2/php.ini Session session.gc_divisor 100 ADD start.sh /app/code/start.sh