aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc/advanced/external-renderers.en-us.md
diff options
context:
space:
mode:
authorJohan Van de Wauw <johan@gisky.be>2020-09-15 00:11:11 +0200
committerGitHub <noreply@github.com>2020-09-14 18:11:11 -0400
commit08a905f614debd6481d7bda2913c596575e9a260 (patch)
treeada38010a7e437bc4026698378cf446fa1368fd8 /docs/content/doc/advanced/external-renderers.en-us.md
parented2bdf455cc5de747134ae7e55584ebb97450d40 (diff)
downloadgitea-08a905f614debd6481d7bda2913c596575e9a260.tar.gz
gitea-08a905f614debd6481d7bda2913c596575e9a260.zip
Fix external renderers example (#12841)
* libffi-dev is required for building jupyter * matplotlib can not be installed using wheels on the used version of alpine linux, which means it must be compiled and a large number of other packages have to be installed as well. This is very inefficient: see eg. https://pythonspeed.com/articles/alpine-docker-python/ Apart from that, matplotlib is actually not required for rendering notebook files in gitea and it will pull in other dependencies which take some time to build (ie numpy).
Diffstat (limited to 'docs/content/doc/advanced/external-renderers.en-us.md')
-rw-r--r--docs/content/doc/advanced/external-renderers.en-us.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/doc/advanced/external-renderers.en-us.md b/docs/content/doc/advanced/external-renderers.en-us.md
index 94c8763a78..dbba5e9f29 100644
--- a/docs/content/doc/advanced/external-renderers.en-us.md
+++ b/docs/content/doc/advanced/external-renderers.en-us.md
@@ -36,12 +36,12 @@ FROM gitea/gitea:{{< version >}}
COPY custom/app.ini /data/gitea/conf/app.ini
[...]
-RUN apk --no-cache add asciidoctor freetype freetype-dev gcc g++ libpng python-dev py-pip python3-dev py3-pip py3-pyzmq
+RUN apk --no-cache add asciidoctor freetype freetype-dev gcc g++ libpng libffi-dev python-dev py-pip python3-dev py3-pip py3-pyzmq
# install any other package you need for your external renderers
RUN pip3 install --upgrade pip
RUN pip3 install -U setuptools
-RUN pip3 install jupyter matplotlib docutils
+RUN pip3 install jupyter docutils
# add above any other python package you may need to install
```