From bc6171edac157aee0acf44630a0a727bf9658795 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sun, 8 Mar 2020 20:24:48 +0100 Subject: [PATCH] [Docker] pycryptodome requires gcc & libc-dev And the alpine py3-pycryptodome package installs pycryptodomex, which is not compatible with matrix-nio. --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 070c4af..d6132c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,11 @@ FROM python:3.8-alpine EXPOSE 4785 -RUN pip3 install --no-cache-dir matrix-nio +RUN apk update -q \ + && apk add -q --no-cache build-base \ + && pip3 install --no-cache-dir matrix-nio \ + && apk del build-base \ + && rm -rf /var/cache/apk/* ADD matrix_webhook.py /