Add libwebp dependency to Dockerfile (#7791)

* Add libwebp dependency to Dockerfile

Signed-off-by: Juho Vanhanen <juho@vanhanen.io>
This commit is contained in:
Juho Vanhanen 2020-07-06 15:37:39 +03:00 committed by GitHub
parent 2a266f4511
commit d378c3da78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

1
changelog.d/7791.docker Normal file
View File

@ -0,0 +1 @@
Include libwebp in the Docker file to properly handle webp image uploads.

View File

@ -24,6 +24,7 @@ RUN apk add \
build-base \ build-base \
libffi-dev \ libffi-dev \
libjpeg-turbo-dev \ libjpeg-turbo-dev \
libwebp-dev \
libressl-dev \ libressl-dev \
libxslt-dev \ libxslt-dev \
linux-headers \ linux-headers \
@ -61,6 +62,7 @@ FROM docker.io/python:${PYTHON_VERSION}-alpine3.11
RUN apk add --no-cache --virtual .runtime_deps \ RUN apk add --no-cache --virtual .runtime_deps \
libffi \ libffi \
libjpeg-turbo \ libjpeg-turbo \
libwebp \
libressl \ libressl \
libxslt \ libxslt \
libpq \ libpq \