Compare commits
2 commits
0dec9bf139
...
8bbe18055f
Author | SHA1 | Date | |
---|---|---|---|
8bbe18055f | |||
a067758474 |
2 changed files with 14 additions and 1 deletions
|
@ -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 make JOBS=32 BUILDTYPE=Release
|
||||
RUN make JOBS=64 BUILDTYPE=Release
|
||||
|
||||
RUN make install
|
||||
|
||||
|
|
13
README.md
13
README.md
|
@ -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
|
||||
```
|
||||
|
||||
## 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
|
||||
|
||||
- ~~[BetterWeb Docker](https://hub.docker.com/r/betterweb/hugo)~~
|
||||
|
|
Loading…
Add table
Reference in a new issue