diff options
author | Simon Schuster <git@rationality.eu> | 2020-09-29 20:09:18 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2020-10-07 11:09:24 +0200 |
commit | 60d497ff685a581cf63b4840af372d8613bd3f81 (patch) | |
tree | c90e768cac2d89352cc8a90b741c86d509b63af1 /Dockerfile | |
parent | ab41e7717fe0df20a4ca516b918b64bd32753361 (diff) |
docker: Fix python binary
Filebin unconditionally expects a 'python' command to be in path that is
compatible with the installed pygments library. For alpine, this means a
python3 binary. Therefore, we symlink /usr/bin/python3 to
/usr/bin/python.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index 5f75a2580..b0b3dfc05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM alpine:edge LABEL maintainer="sebastian@devunit.eu" RUN apk add --no-cache bash php7 py-pygments py-pip imagemagick php7-gd nodejs composer php7-pdo_mysql php7-exif php7-ctype php7-session git php7-fileinfo msmtp +RUN ln -sf /usr/bin/python3 /usr/bin/python ENV FILEBIN_HOME_DIR /var/lib/filebin ENV FILEBIN_DIR $FILEBIN_HOME_DIR/filebin |