-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace klakegg containers with floryn90 containers #455
Replace klakegg containers with floryn90 containers #455
Conversation
The floryn90 containers have been forked from the klakegg containers and are more actively maintained.
klakegg/docker-hugo#82 notes that root is the default user of the container, but that causes issues for our environment because it blocks git operations. Switch to run as the current user so that git operations are not blocked. Running as the current user means that the Hugo build lock cannot be written. Disable it with a command line switch. Not a perfect solution, but simple enough to allow upgrade to a more recent Hugo version.
docker-compose.yaml
Outdated
image: klakegg/hugo:0.95.0-ext-asciidoctor | ||
# "ext-" for the Hugo extended edition including git (https://github.com/floryn90/docker-hugo/blob/master/README.md#hugo-extended-edition) | ||
user: ${RUN_AS_USER} | ||
image: floryn90/hugo:0.121.1-ext-asciidoctor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alas there are no linux/arm64
for this image's tag: https://hub.docker.com/layers/floryn90/hugo/ext-asciidoctor-onbuild/images/sha256-222d38bf30305cd91eb9badee59b7156ac6fff14cb331393993f463155eda0c8?context=explore
which excludes any macOS user
For information: since https://github.com/asciidoctor/docker-asciidoctor/releases/tag/1.63.0 (a few days ago), the |
For information, I'm gonna open another PR using https://docker.hugomods.com/docs/introduction/ instead of this one. Stay tuned. |
Replace klakegg containers with floryn90 containers
The container images we have used are no longer maintained (as evidence by outdated versions and no responses to issue reports). This switches to a fork of the original repository based on a comment in one of the issues in the original repository. The fork is being maintained and is kept current with Hugo releases. It does not yet publish a GitHub action, so it is not yet a complete replacement for the klakegg repository.
Upgrades to the most recent Hugo release and adapts the build process to the newest release of command line git.
Known issues with this pull request
This pull request does not update the GitHub action to a newer version because the action is not available from the floryn90 fork. It only updates the configuration in the Docker compose definition.