Simple Hugo container, with NodeJS, fork of BetterCorp/hugo to keep up to date
Find a file
2024-07-18 08:48:05 -04:00
.github/workflows remove curl and nodejs from install deps 2024-07-18 08:48:05 -04:00
Dockerfile double job setting agian 2024-07-18 08:44:58 -04:00
LICENSE Initial commit 2023-07-25 11:11:07 +02:00
README.md double job setting agian 2024-07-18 08:44:58 -04:00

Hugo Extended CI Container

Based on alpine:3.20

Contains nodejs, hugo, npm, rsync

To use

Run the following in your hugo directory:

docker run -v .:/home/app -ti --network=host git.myco.systems/mycosystems/hugo-ci:latest

To also host locally:

docker run -p 1313:1313 -v .:/home/app -ti --network=host git.myco.systems/mycosystems/hugo-ci:latest

Building

Building requires docker, buildx. Nodejs is included in the ci workflow becuase of it's use in many actions scripts.

I recommend changing the option JOBS in the Dockerfile as the current number is optimized for a custom KVM machine that's being used as our runner. Our runner is given these resources:

  • 64 GB DDR4
  • 128 vcores passed as EPYC 7763 (host) using NUMA
  • 64 GB emulated SSD