summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rw-r--r--README.md1
-rw-r--r--composer.json1
3 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 9b6c8f705..3e2c5d3a4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
FROM alpine:edge
MAINTAINER Sebastian Rakel <sebastian@devunit.eu>
-RUN apk add --no-cache -X https://dl-cdn.alpinelinux.org/alpine/edge/testing bash php7 py-pygments py2-pip imagemagick php7-gd nodejs composer php7-pdo_mysql php7-exif php7-ctype php7-session git
+RUN apk add --no-cache -X https://dl-cdn.alpinelinux.org/alpine/edge/testing bash php7 py-pygments py2-pip imagemagick php7-gd nodejs composer php7-pdo_mysql php7-exif php7-ctype php7-session git php7-finfo
ENV FILEBIN_HOME_DIR /var/lib/filebin
ENV FILEBIN_DIR $FILEBIN_HOME_DIR/filebin
diff --git a/README.md b/README.md
index 5207f12a8..7a3793424 100644
--- a/README.md
+++ b/README.md
@@ -44,6 +44,7 @@ You can also open a pull request on [GitHub](https://github.com/Bluewind/filebin
* phar for tarball creation
* mysql, mysqli, pgsql, pdo_mysql (any of those) for database access
* mbstring for multibyte support
+ * finfo for mimetype detection
* xdebug for tests (not required on production)
* [composer](https://getcomposer.org/) for dependency management
diff --git a/composer.json b/composer.json
index f5ffffef9..8175a844b 100644
--- a/composer.json
+++ b/composer.json
@@ -12,6 +12,7 @@
"php": ">=5.5",
"ext-gd": "*",
"ext-exif": "*",
+ "ext-finfo": "*",
"ext-phar": "*",
"ext-mbstring": "*"
},