summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-08-19 23:33:04 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-08-19 23:34:31 +0200
commitaeb6ee82ba5509e2febf7738f6dc371f678acd07 (patch)
tree58f3a5d2c06b5eca5cf205ac6b94d28a18ff5a20
parent2a154a6cf5b7bf17f8a992bb9507bba37b0543be (diff)
Add missing finfo dependency
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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": "*"
},