From 459e66db30b72c25ac742be495e9e43b6f7c68be Mon Sep 17 00:00:00 2001
From: techknowlogick <matti@mdranta.net>
Date: Sun, 2 Feb 2020 09:43:54 +0100
Subject: [PATCH] Add deps for pillow in docker image

---
 api/Dockerfile | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/api/Dockerfile b/api/Dockerfile
index 12a84a769..130606b41 100644
--- a/api/Dockerfile
+++ b/api/Dockerfile
@@ -19,7 +19,18 @@ RUN \
     libffi-dev         \
     make         \
     zlib-dev           \
-    openldap-dev && \
+    openldap-dev \ 
+    jpeg-dev \
+    zlib-dev \
+    freetype-dev \
+    lcms2-dev \
+    openjpeg-dev \
+    tiff-dev \
+    tk-dev \
+    tcl-dev \
+    harfbuzz-dev \
+    fribidi-dev \
+    && \
     \
     \
     ln -s /usr/bin/python3 /usr/bin/python
@@ -29,10 +40,6 @@ COPY ./requirements/base.txt /requirements/base.txt
 # hack around https://github.com/pypa/pip/issues/6158#issuecomment-456619072
 ENV PIP_DOWNLOAD_CACHE=/noop/
 RUN \
-    echo 'fixing requirements file for alpine' && \
-    sed -i '/Pillow/d' /requirements/base.txt && \
-    \
-    \
     echo 'installing pip requirements' && \
     pip3 install --upgrade pip && \
     pip3 install setuptools wheel && \
-- 
GitLab