From aeb6ee82ba5509e2febf7738f6dc371f678acd07 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 19 Aug 2018 23:33:04 +0200 Subject: Add missing finfo dependency Signed-off-by: Florian Pritz --- Dockerfile | 2 +- README.md | 1 + composer.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9b6c8f705..3e2c5d3a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:edge MAINTAINER Sebastian Rakel -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": "*" }, -- cgit v1.2.3-24-g4f1b