fix(docker): compile doc during image build

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-01-13 21:41:52 -08:00
parent 43b7fdb61d
commit c4ea1171cd
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
2 changed files with 4 additions and 1 deletions

View file

@ -29,6 +29,9 @@ RUN sed -i "s;YOUR_AUR_ROOT;/aurweb;g" conf/config
# Install Python dependencies. # Install Python dependencies.
RUN /docker/scripts/install-python-deps.sh RUN /docker/scripts/install-python-deps.sh
# Compile asciidocs.
RUN make -C doc
# Add our aur user. # Add our aur user.
RUN useradd -U -d /aurweb -c 'AUR User' aur RUN useradd -U -d /aurweb -c 'AUR User' aur

View file

@ -9,6 +9,6 @@ pacman -Syu --noconfirm --noprogressbar \
mariadb mariadb-libs cgit-aurweb uwsgi uwsgi-plugin-cgi \ mariadb mariadb-libs cgit-aurweb uwsgi uwsgi-plugin-cgi \
php php-fpm memcached php-memcached python-pip pyalpm \ php php-fpm memcached php-memcached python-pip pyalpm \
python-srcinfo curl libeatmydata cronie python-poetry \ python-srcinfo curl libeatmydata cronie python-poetry \
python-poetry-core step-cli step-ca python-poetry-core step-cli step-ca asciidoc
exec "$@" exec "$@"