aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/blueimp/jquery-file-upload/server/php/Dockerfile
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-06-13 12:01:27 +0000
committerMario <mario@mariovavti.com>2020-06-13 12:01:27 +0000
commita88233a045679f3d7ea4c14eb68e62816fb10ba7 (patch)
treef9a1b74fe1d9363b5b66e816992a22d75257fc5b /vendor/blueimp/jquery-file-upload/server/php/Dockerfile
parent0259130cf32fee40981bd0eef6fedd9440782061 (diff)
downloadvolse-hubzilla-a88233a045679f3d7ea4c14eb68e62816fb10ba7.tar.gz
volse-hubzilla-a88233a045679f3d7ea4c14eb68e62816fb10ba7.tar.bz2
volse-hubzilla-a88233a045679f3d7ea4c14eb68e62816fb10ba7.zip
composer update jquery-file-upload
Diffstat (limited to 'vendor/blueimp/jquery-file-upload/server/php/Dockerfile')
-rw-r--r--vendor/blueimp/jquery-file-upload/server/php/Dockerfile38
1 files changed, 22 insertions, 16 deletions
diff --git a/vendor/blueimp/jquery-file-upload/server/php/Dockerfile b/vendor/blueimp/jquery-file-upload/server/php/Dockerfile
index 67752f995..7f271b581 100644
--- a/vendor/blueimp/jquery-file-upload/server/php/Dockerfile
+++ b/vendor/blueimp/jquery-file-upload/server/php/Dockerfile
@@ -11,28 +11,34 @@ RUN ln -s /etc/apache2/mods-available/rewrite.load \
# Install GD, Imagick and ImageMagick as image conversion options:
RUN DEBIAN_FRONTEND=noninteractive \
apt-get update && apt-get install -y --no-install-recommends \
- libpng-dev \
- libjpeg-dev \
- libmagickwand-dev \
- imagemagick \
+ libpng-dev \
+ libjpeg-dev \
+ libmagickwand-dev \
+ imagemagick \
&& pecl install \
- imagick \
+ imagick \
&& docker-php-ext-enable \
- imagick \
+ imagick \
&& docker-php-ext-configure \
- gd --with-jpeg=/usr/include/ \
+ gd --with-jpeg=/usr/include/ \
&& docker-php-ext-install \
- gd \
+ gd \
# Uninstall obsolete packages:
&& apt-get autoremove -y \
- libpng-dev \
- libjpeg-dev \
- libmagickwand-dev \
+ libpng-dev \
+ libjpeg-dev \
+ libmagickwand-dev \
# Remove obsolete files:
&& apt-get clean \
&& rm -rf \
- /tmp/* \
- /usr/share/doc/* \
- /var/cache/* \
- /var/lib/apt/lists/* \
- /var/tmp/*
+ /tmp/* \
+ /usr/share/doc/* \
+ /var/cache/* \
+ /var/lib/apt/lists/* \
+ /var/tmp/*
+
+# Use the default development configuration:
+RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"
+
+# Add a custom configuration file:
+COPY php.ini "$PHP_INI_DIR/conf.d/"