30 lines
941 B
Markdown
30 lines
941 B
Markdown
|
# Hugo Extended CI Container
|
||
|
|
||
|
Based on alpine:3.20
|
||
|
|
||
|
Contains nodejs, hugo, rsync
|
||
|
`hugo-ci:<hugo_version>-<node_version>`
|
||
|
|
||
|
## Building
|
||
|
|
||
|
Building requires docker, buildx. Nodejs is included in the ci workflow becuase of it's use in many actions scripts, but it is not necessary for local building.
|
||
|
|
||
|
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
|
||
|
|
||
|
## Links
|
||
|
|
||
|
- ~~[BetterWeb Docker](https://hub.docker.com/r/betterweb/hugo)~~
|
||
|
|
||
|
- ~~[BeterCorp Github](https://github.com/BetterCorp/hugo)~~
|
||
|
|
||
|
- [Codeberg Repo](https://codeberg.org/mycosys/hugo-ci)
|
||
|
|
||
|
- [MycoSystems Repo](https://git.myco.systems/mycosystems/hugo-ci)
|
||
|
|
||
|
- [Codeberg Packages](https://codeberg.org/mycosys/-/packages/container/hugo-ci/versions)
|