Draft: Fix docker image
Why is this change being made?
The docker image recommended for development/local build does not work.
Using floryn90/hugo:0.120.3-ext-ubuntu-onbuild
resolves the errors.
Click to expand
13:43 $ docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:0.111.3-ext-ubuntu-onbuild server
hugo: downloading modules …
hugo: collected modules in 72335 ms
Start building sites …
hugo v0.111.3-5d4eb5154e1fed125ca8e9b5a0315c4180dab192+extended linux/arm64 BuildDate=2023-03-12T11:40:50Z VendorInfo=hugoguru
ERROR 2024/02/13 02:44:37 render of "page" failed: "/tmp/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.8.0/layouts/docs/baseof.html:17:15": execute of template failed: template: docs/single.html:17:15: executing "docs/single.html" at <partial "page-meta-links.html" .>: error calling partial: "/tmp/modules/filecache/modules/pkg/mod/gitlab.com/gitlab-com/content-sites/docsy-gitlab@v0.3.10/layouts/partials/page-meta-links.html:17:3": execute of template failed: template: partials/page-meta-links.html:17:3: executing "partials/page-meta-links.html" at <partial "gitlab/codeowners.html" .>: error calling partial: "/tmp/modules/filecache/modules/pkg/mod/gitlab.com/gitlab-com/content-sites/docsy-gitlab@v0.3.10/layouts/partials/gitlab/codeowners.html:27:4": execute of template failed: template: partials/gitlab/codeowners.html:27:4: executing "partials/gitlab/codeowners.html" at <partial "partials/gitlab/codeowner.html" .>: error calling partial: "/tmp/modules/filecache/modules/pkg/mod/gitlab.com/gitlab-com/content-sites/docsy-gitlab@v0.3.10/layouts/partials/gitlab/codeowner.html:42:23": execute of template failed: template: partials/gitlab/codeowner.html:42:23: executing "partials/gitlab/codeowner.html" at <where site.Data.public.team "gitlab" "eq" $slug>: error calling where: can't iterate over <nil>
(... many more of these)
Author and Reviewer Checklist
Please verify the check list and ensure to tick them off before the MR is merged.
-
Provided a concise title for this Merge Request (MR) -
Added a description to this MR explaining the reasons for the proposed change, per say why, not just what - Copy/paste the Slack conversation to document it for later, or upload screenshots. Verify that no confidential data is added, and the content is SAFE
-
Assign reviewers for this MR to the correct Directly Responsible Individual/s (DRI) - If the DRI for the page/s being updated isn’t immediately clear, then assign it to one of the people listed in the
Maintained by
section on the page being edited - If your manager does not have merge rights, please ask someone to merge it AFTER it has been approved by your manager in #mr-buddies
- The when to get approval handbook section explains the workflow in more detail
- If the DRI for the page/s being updated isn’t immediately clear, then assign it to one of the people listed in the
-
For transparency, share this MR with the audience that will be impacted. -
Team: For changes that affect your direct team, share in your group Slack channel -
Department: If the update affects your department, share the MR in your department Slack channel -
Company: If the update affects all (or the majority of) GitLab team members, post an update in #whats-happening-at-gitlab linking to this MR - For high-priority company-wide announcements work with the internal communications team to post the update in #company-fyi and align on a plan to circulate in additional channels like the "While You Were Iterating" Newsletter
-