-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Document usage of official Docker image #2741
base: master
Are you sure you want to change the base?
Conversation
It would be good if we could test the commands and functionality for each operating system.
Note that one of the documented prerequisites, at least on Linux, is creation of the Hugo cache directory. When testing locally on Linux, if
Command to create the Hugo cache directory:
TestingThe site that we are using tests these these features and capabilities:
Commands for testing on each operating system: BSD
Linux
macOS
Windows (use Powershell to run these commands)
Footnotes
|
987ac24
to
1663ed5
Compare
@bep If you have the time and inclination, I would appreciate a review and testing of the Docker instructions for macOS: As noted in my previous comment, the Linux and Windows instructions work great. I have no interest in firing up a BSD VM, so that information will be published untested. |
1663ed5
to
02a6421
Compare
Your test site fails on my ARM64 MacBook (I'm pretty sure I tested a site with Dart Sass on ...). The error message is clear and simple to understand, though. I have created a new milestone and will try to fix this/these soon: https://github.com/gohugoio/hugo/milestone/313 Edit in:
|
OK, the image in 0.136.2 looks good to me on MacOS (ARM64) for the test site above. Note that both of these now work:
|
I haven't looked at the latest Dockerfile, but why would I use the second one (no persistent cache). |
I wouldn't, but for small/simple blogs it does not make much difference in build speed ... As to documentation I would just document the |
Closes #2727
Previews: