Compare commits

...

2 commits

Author SHA1 Message Date
8bbe18055f double job setting agian 2024-07-18 08:44:58 -04:00
a067758474 update readme with a build section 2024-07-18 08:43:39 -04:00
2 changed files with 14 additions and 1 deletions

View file

@ -20,7 +20,7 @@ WORKDIR node-v${NODE_VERSION}
RUN ./configure --prefix=/usr --shared-brotli --shared-zlib --shared-libuv --shared-openssl --shared-cares --shared-nghttp2 --ninja --without-npm --with-intl=system-icu --openssl-use-def-ca-store RUN ./configure --prefix=/usr --shared-brotli --shared-zlib --shared-libuv --shared-openssl --shared-cares --shared-nghttp2 --ninja --without-npm --with-intl=system-icu --openssl-use-def-ca-store
RUN make JOBS=32 BUILDTYPE=Release RUN make JOBS=64 BUILDTYPE=Release
RUN make install RUN make install

View file

@ -15,6 +15,19 @@ To also host locally:
docker run -p 1313:1313 -v .:/home/app -ti --network=host git.myco.systems/mycosystems/hugo-ci:latest 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
## Links ## Links
- ~~[BetterWeb Docker](https://hub.docker.com/r/betterweb/hugo)~~ - ~~[BetterWeb Docker](https://hub.docker.com/r/betterweb/hugo)~~