- Replaced hard-coded golang version and hugo version with GO_VERSION
and HUGO_VERSION args.
- Update builtin HUGO_VERSION from 0.70.0 to 0.101.0.
- Update GO_VERSION from 1.14 to 1.18.3.
replace libstdc++ source from v3.15 to edge
hugo-extended compiled by go1.18.3 needs libstdc++ v11.2.1 provided by
the alpine edge repo.
- Changed repository of apk add command in dockerfiles.
Since the extended version is only available for amd64 I have started to
build Hugo on our own in a multi stage Dockerfile. Now we are installing
both binaries, regular hugo and extended hugo, bundled into the Docker
image.
Beside that the download for regular hugo and extended hugo should also
be more solid now.
After that I have also added more aliases for the environment variables.
As mentioned on some GitHub issue we are also installing more required
packages for a downloaded extended Hugo version as this relies on
libc6-compat and libstdc++.