{"id":15646266,"url":"https://github.com/jakejarvis/hugo-docker","last_synced_at":"2025-08-20T16:33:00.584Z","repository":{"id":43758606,"uuid":"282667539","full_name":"jakejarvis/hugo-docker","owner":"jakejarvis","description":"✏️ Dockerized Hugo Extended with PostCSS, Babel, Pandoc, and more baked-in. Now with multi-architecture support!","archived":false,"fork":false,"pushed_at":"2024-12-15T04:56:33.000Z","size":247,"stargazers_count":51,"open_issues_count":12,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-17T03:14:26.302Z","etag":null,"topics":["arm","arm64","docker","hugo","hugo-extended"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/jakejarvis/hugo-extended","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakejarvis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-26T14:32:44.000Z","updated_at":"2024-11-02T19:52:33.000Z","dependencies_parsed_at":"2023-10-30T18:23:26.394Z","dependency_job_id":"6cec1e04-c52b-42f6-a270-076caf7d572b","html_url":"https://github.com/jakejarvis/hugo-docker","commit_stats":null,"previous_names":[],"tags_count":89,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fhugo-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fhugo-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fhugo-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fhugo-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakejarvis","download_url":"https://codeload.github.com/jakejarvis/hugo-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230438185,"owners_count":18225870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arm","arm64","docker","hugo","hugo-extended"],"created_at":"2024-10-03T12:12:08.556Z","updated_at":"2024-12-19T13:08:36.878Z","avatar_url":"https://github.com/jakejarvis.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ✏️ [Hugo Extended](https://github.com/gohugoio/hugo) via Docker\n\n[![Build](https://github.com/jakejarvis/hugo-docker/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/jakejarvis/hugo-docker/actions/workflows/build.yml)\n\nA base image to ease local development of Hugo sites, including [Hugo Extended](https://gohugo.io/troubleshooting/faq/#i-get-tocss-this-feature-is-not-available-in-your-current-hugo-version) (with SASS/SCSS support) and optional third-party tools ([listed below](#third-party-software)). Now with [multi-architecture images](https://docs.docker.com/docker-for-mac/multi-arch/) for native AMD64 and ARM64 support!\n\n## Usage\n\n### Command line\n\nThis will start a live server at http://localhost:1313/ from the Hugo site in your current directory:\n\n```bash\ndocker run -v $(pwd):/src -p 1313:1313 jakejarvis/hugo-extended:latest server --buildDrafts --buildFuture --bind 0.0.0.0\n```\n\n### `docker-compose.yml`\n\n```yaml\nversion: '3'\n\nservices:\n  hugo:\n    image: jakejarvis/hugo-extended:latest\n    ports:\n      - 1313:1313\n    volumes:\n      - ./:/src\n    command: server --buildDrafts --buildFuture --bind 0.0.0.0\n```\n\n### Notes\n\nWhen using Docker to run a live server (i.e. `hugo server`), you must pass `--bind 0.0.0.0` as an argument to fix some networking quirks between Hugo, the container, and the host.\n\n## Third-party software\n\nJust in case, the final Alpine Linux container includes a few small third-party tools that are required by certain optional Hugo features:\n\n- [PostCSS](https://github.com/postcss/postcss-cli)\n- [Autoprefixer](https://github.com/postcss/autoprefixer)\n- [Babel](https://babeljs.io/)\n- [Pygments](https://pygments.org/)\n- [Asciidoctor](https://asciidoctor.org/)\n- [Pandoc](https://pandoc.org/)\n- [Docutils](https://docutils.sourceforge.io/) / [RST](https://docutils.sourceforge.io/rst.html)\n- [Embedded Dart Sass](https://github.com/sass/dart-sass-embedded) (amd64 only)\n\nNode (with NPM and Yarn), Go (for [Hugo Modules](https://gohugo.io/hugo-modules/) support), and Python are also pre-installed.\n\n## Licenses\n\nThis project is distributed under the [MIT License](LICENSE.md). Hugo is distributed under the [Apache License 2.0](https://github.com/gohugoio/hugo/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakejarvis%2Fhugo-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakejarvis%2Fhugo-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakejarvis%2Fhugo-docker/lists"}