From 2b80eababc2012c81178a055a61362a0ec54e950 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sat, 27 Jan 2024 21:35:51 +0200 Subject: [PATCH] Initial commit --- Dockerfile | 8 ++++++++ README.adoc | 16 ++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 Dockerfile create mode 100644 README.adoc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..76c561c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM archlinux:latest + +RUN pacman -Syu --noconfirm \ + go \ + hugo \ + asciidoctor \ + ruby-rouge \ + npm diff --git a/README.adoc b/README.adoc new file mode 100644 index 0000000..a061da4 --- /dev/null +++ b/README.adoc @@ -0,0 +1,16 @@ += Docker image to build Hugo sites in a CI environment + +I created this image because all of the current options for +building my Hugo sites in a CI environment were either missing +some dependencies needed for my site or the contained Hugo version +was too old. + +== Features + +* Based on the official Arch Linux image +* Included dependencies (latest versions available for Arch Linux at build time) +** Hugo +** AsciiDoctor +** go +** Rouge syntax highlighter +** npm and nodejs