{"id":16583024,"url":"https://github.com/mazgi/container-image.hugo-static-website","last_synced_at":"2025-08-28T17:39:39.653Z","repository":{"id":146368703,"uuid":"144190488","full_name":"mazgi/container-image.hugo-static-website","owner":"mazgi","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-25T08:55:06.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-28T07:07:39.431Z","etag":null,"topics":["dockerfile","hugo","static-site-generator"],"latest_commit_sha":null,"homepage":"https://github.com/users/mazgi/packages/container/package/hugo-static-website","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mazgi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":["mazgi"],"patreon":"mazgi"}},"created_at":"2018-08-09T18:38:46.000Z","updated_at":"2024-07-25T08:55:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"269b4b9f-72b0-4193-82a9-89b5be2a98a8","html_url":"https://github.com/mazgi/container-image.hugo-static-website","commit_stats":null,"previous_names":["mazgi/container-image.hugo-static-website"],"tags_count":71,"template":false,"template_full_name":null,"purl":"pkg:github/mazgi/container-image.hugo-static-website","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazgi%2Fcontainer-image.hugo-static-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazgi%2Fcontainer-image.hugo-static-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazgi%2Fcontainer-image.hugo-static-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazgi%2Fcontainer-image.hugo-static-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mazgi","download_url":"https://codeload.github.com/mazgi/container-image.hugo-static-website/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazgi%2Fcontainer-image.hugo-static-website/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272531068,"owners_count":24950492,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dockerfile","hugo","static-site-generator"],"created_at":"2024-10-11T22:34:45.964Z","updated_at":"2025-08-28T17:39:39.619Z","avatar_url":"https://github.com/mazgi.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/mazgi","https://patreon.com/mazgi"],"categories":[],"sub_categories":[],"readme":"# container-image.hugo-static-website\n\n[![publish-container-images](https://github.com/mazgi/container-image.hugo-static-website/actions/workflows/publish-container-images.yaml/badge.svg)](https://github.com/mazgi/container-image.hugo-static-website/actions/workflows/publish-container-images.yaml)\n[![start-stop-containers](https://github.com/mazgi/container-image.hugo-static-website/actions/workflows/start-stop-containers.yaml/badge.svg)](https://github.com/mazgi/container-image.hugo-static-website/actions/workflows/start-stop-containers.yml)\n\n## How to Use\n\n### Write out your IDs and information in the .env file\n\nIf you have an old `.env` file, you are able to reset it by removing it.\n\n```console\nrm -f .env\n```\n\n:information_source: If you are using Linux, write out UID and GID into the `.env` file to let that as exported on Docker Compose as environment variables.\n\n```console\ntest $(uname -s) = 'Linux' \u0026\u0026 {\n  echo -e \"GID=$(id -g)\"\n  echo -e \"UID=$(id -u)\"\n} \u003e\u003e .env || :\n```\n\n## Supplementary Information\n\n### Environment Variable Names\n\nEnvironment variable names and uses are as follows.\n\n| Name       | Required on Linux | Value                                                                                                                                   |\n| ---------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------- |\n| UID        | **Yes**           | This ID number is used as UID for your Docker user, so this ID becomes the owner of all files and directories created by the container. |\n| GID        | **Yes**           | The same as the above UID.                                                                                                              |\n\n## How to update the Hugo version\n\n```shellsession\nexport HUGO_VERSION=0.72.0\nexport TAG=hugo-${HUGO_VERSION}-$(date +%Y.%m.0)\nsed -i \"s/ARG HUGO_VERSION=.*/ARG HUGO_VERSION=${HUGO_VERSION}/\" Dockerfile.d/hugo-static-website/Dockerfile\ngit commit -m \"update hugo version to ${HUGO_VERSION}\" Dockerfile.d/hugo-static-website/Dockerfile\ngit tag $TAG\ngit push origin $TAG\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazgi%2Fcontainer-image.hugo-static-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmazgi%2Fcontainer-image.hugo-static-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazgi%2Fcontainer-image.hugo-static-website/lists"}