mirror of
https://github.com/nextcloud/documentation.git
synced 2025-07-21 23:46:31 +00:00

`alabaster==1.0.0` requires at least Python 3.10, while DevContainer has 3.9 Upgrading to 3.10 Alternative: upgrade to the 3.13 as the latest Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
16 lines
611 B
Docker
16 lines
611 B
Docker
FROM python:3.10 as final
|
|
|
|
USER root
|
|
|
|
# Add dev tools needed for building
|
|
RUN export DEBIAN_FRONTEND=noninteractive \
|
|
&& apt-get update \
|
|
&& apt-get -y install --no-install-recommends \
|
|
curl gnupg2 git nano make graphviz imagemagick inkscape sass unzip wget php-cli npm latexmk texlive-latex-extra tex-gyre \
|
|
&& wget https://getcomposer.org/installer -qO /tmp/composer-setup.php \
|
|
&& php /tmp/composer-setup.php \
|
|
&& mv composer.phar /usr/local/bin/composer \
|
|
&& npm install svgexport -g \
|
|
&& rm -f /tmp/composer-setup.php \
|
|
&& rm -rf /var/lib/apt/lists/*
|