Marko Korhonen
72b25e2b0e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Hugo has a way to to define the backend in the site configuration. See: https://git.korhonen.cc/FunctionalHacker/korhonen.cc/src/branch/main/config/_default/markup.toml
19 lines
615 B
Docker
19 lines
615 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 --noconfirm
|