diff --git a/Dockerfile b/Dockerfile index 38d3ca0e..16e6514e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,9 @@ RUN sed -i "s;YOUR_AUR_ROOT;/aurweb;g" conf/config # Install Python dependencies. RUN /docker/scripts/install-python-deps.sh +# Compile asciidocs. +RUN make -C doc + # Add our aur user. RUN useradd -U -d /aurweb -c 'AUR User' aur diff --git a/docker/scripts/install-deps.sh b/docker/scripts/install-deps.sh index 372b6e0c..f55cfa3b 100755 --- a/docker/scripts/install-deps.sh +++ b/docker/scripts/install-deps.sh @@ -9,6 +9,6 @@ pacman -Syu --noconfirm --noprogressbar \ mariadb mariadb-libs cgit-aurweb uwsgi uwsgi-plugin-cgi \ php php-fpm memcached php-memcached python-pip pyalpm \ python-srcinfo curl libeatmydata cronie python-poetry \ - python-poetry-core step-cli step-ca + python-poetry-core step-cli step-ca asciidoc exec "$@"