Skip to content
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

Switch from floryn90/hugo to hugomods/hugo image #337

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

julianladisch
Copy link

The site build using docker-compose fails since floryn90/hugo v0.134.3:

Error: error building site: failed to acquire a build lock: open /src/.hugo_build.lock: permission denied

Cause: The Alpine image has switched from root user to hugo user:

floryn90/docker-hugo@b261630

Fix: Switch to hugomods/hugo image that still runs as root user.

The hugomods/hugo:std-exts image has git included making our Dockerfile obsolete.

Documentation: https://docker.hugomods.com/docs/development/docker-compose/

The site build fails since floryn90/hugo v0.134.3:

```
Error: error building site: failed to acquire a build lock: open /src/.hugo_build.lock: permission denied
```

Cause: The Alpine image has switched from root user to hugo user:

floryn90/docker-hugo@b261630

Fix: Switch to hugomods/hugo image that still runs as root user.

The hugomods/hugo:std-exts image has git included making our Dockerfile obsolete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant