This repository has been archived on 2025-06-07. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
hugo-asciidoc-docker-ci/Dockerfile
Marko Korhonen f23be3b9e2
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Use html5s backend by default in AsciiDoctor
2024-01-28 20:12:10 +02:00

22 lines
711 B
Docker

FROM archlinux:latest
# Add AUR repo
RUN pacman-key --init && \
pacman-key -r marko@korhonen.cc && \
pacman-key --lsign-key F2B9F713E7ED627336DD85E444FA3F28CD931BB0 && \
printf "\n\n[korhonen_aur]\nServer = https://index.korhonen.cc/repo/arch_linux/korhonen_aur/x86_64\n" >> /etc/pacman.conf
# Update base
RUN pacman -Syu --noconfirm
# Install needed dependencies
RUN pacman -S go --noconfirm
RUN pacman -S hugo --noconfirm
RUN pacman -S asciidoctor --noconfirm
RUN pacman -S ruby-rouge --noconfirm
RUN pacman -S npm --noconfirm
RUN pacman -S git --noconfirm
RUN pacman -S ruby-asciidoctor-html5s
# Add script to run asciidoctor with html5s backend
COPY ./asciidoctor-html5s /usr/local/sbin/asciidoctor