|
|
@ -3,7 +3,11 @@ RUN apk add rsync nginx zlib-dev libpng-dev freetype-dev libjpeg-turbo-dev \ |
|
|
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg \ |
|
|
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg \ |
|
|
|
&& docker-php-ext-install -j$(nproc) gd \ |
|
|
|
&& docker-php-ext-install -j$(nproc) gd \ |
|
|
|
&& cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \ |
|
|
|
&& cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \ |
|
|
|
&& mkdir -p /var/www/downloads && cd /var/www/downloads/ \ |
|
|
|
&& cd /usr/local/etc/php/ \ |
|
|
|
|
|
|
|
&& sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 20M/g' php.ini \ |
|
|
|
|
|
|
|
&& sed -i 's/post_max_size = 8M/post_max_size = 20M/g' php.ini \ |
|
|
|
|
|
|
|
&& mkdir -p /var/www/downloads \ |
|
|
|
|
|
|
|
&& cd /var/www/downloads/ \ |
|
|
|
&& wget "https://git.filesite.io/filesite/machete/archive/master.tar.gz" \ |
|
|
|
&& wget "https://git.filesite.io/filesite/machete/archive/master.tar.gz" \ |
|
|
|
&& tar -zxvf master.tar.gz \ |
|
|
|
&& tar -zxvf master.tar.gz \ |
|
|
|
&& rm -f master.tar.gz \ |
|
|
|
&& rm -f master.tar.gz \ |
|
|
|