summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuho Vanhanen <juhovan@users.noreply.github.com>2020-07-06 15:37:39 +0300
committerGitHub <noreply@github.com>2020-07-06 13:37:39 +0100
commitd378c3da784416449d3e03ed45f05d55dfcfe26e (patch)
tree4dae2b86c2fd20f84f756bec5f68caea35749267
parentAdd documentation for JWT login type and improve sample config. (#7776) (diff)
downloadsynapse-d378c3da784416449d3e03ed45f05d55dfcfe26e.tar.xz
Add libwebp dependency to Dockerfile (#7791)
* Add libwebp dependency to Dockerfile

Signed-off-by: Juho Vanhanen <juho@vanhanen.io>
-rw-r--r--changelog.d/7791.docker1
-rw-r--r--docker/Dockerfile2
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/7791.docker b/changelog.d/7791.docker
new file mode 100644
index 0000000000..a114159d4e
--- /dev/null
+++ b/changelog.d/7791.docker
@@ -0,0 +1 @@
+Include libwebp in the Docker file to properly handle webp image uploads.
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 9a3cf7b3f5..093e89af6c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -24,6 +24,7 @@ RUN apk add \
         build-base \
         libffi-dev \
         libjpeg-turbo-dev \
+        libwebp-dev \
         libressl-dev \
         libxslt-dev \
         linux-headers \
@@ -61,6 +62,7 @@ FROM docker.io/python:${PYTHON_VERSION}-alpine3.11
 RUN apk add --no-cache --virtual .runtime_deps \
         libffi \
         libjpeg-turbo \
+        libwebp \
         libressl \
         libxslt \
         libpq \