{"id":34854397,"url":"https://github.com/sbamin/sitebuilder","last_synced_at":"2026-04-12T03:03:44.366Z","repository":{"id":39866633,"uuid":"243305942","full_name":"sbamin/sitebuilder","owner":"sbamin","description":"Dockerfile to build jekyll/hugo/mkdocs-based website","archived":false,"fork":false,"pushed_at":"2025-12-25T17:29:13.000Z","size":117,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T04:55:26.867Z","etag":null,"topics":["docker","documentation-generator","github-pages","jekyll","markdown","mkdocs","mkdocs-material-theme","plugins","static-site-generator","website-builder"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/sbamin/sitebuilder","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/sbamin.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-26T16:09:03.000Z","updated_at":"2025-12-25T17:28:18.000Z","dependencies_parsed_at":"2025-01-19T02:29:35.267Z","dependency_job_id":"191115e9-e913-49bd-860c-d4259baff48c","html_url":"https://github.com/sbamin/sitebuilder","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/sbamin/sitebuilder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbamin%2Fsitebuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbamin%2Fsitebuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbamin%2Fsitebuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbamin%2Fsitebuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbamin","download_url":"https://codeload.github.com/sbamin/sitebuilder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbamin%2Fsitebuilder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31702582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"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":["docker","documentation-generator","github-pages","jekyll","markdown","mkdocs","mkdocs-material-theme","plugins","static-site-generator","website-builder"],"created_at":"2025-12-25T19:58:29.847Z","updated_at":"2026-04-12T03:03:44.360Z","avatar_url":"https://github.com/sbamin.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## sitebuilder\n\n![GitHub Tag](https://img.shields.io/github/v/tag/sbamin/sitebuilder?label=sbamin%2Fsitebuilder) | [![Docker Image Version](https://img.shields.io/docker/v/sbamin/sitebuilder?arch=amd64)](https://hub.docker.com/r/sbamin/sitebuilder)\n\nDocker image: [sbamin/sitebuilder](https://hub.docker.com/r/sbamin/sitebuilder)\n\n\u003eNOTE: Since sitebuilder tag: 1.5.5, future updates will always be pushed to [docker hub](https://hub.docker.com/r/sbamin/sitebuilder) but occasionally to github repo.\n\nDocker image to build static websites managed via [Jekyll](https://jekyllrb.com), Hugo(https://gohugo.io) or [MkDocs](https://www.mkdocs.org) framework.\n\nFor Jekyll framework, your site's Gemfile should match version requirements given in [Gemfile](Gemfile). Also, avoid putting [Gemfile.lock](Gemfile.lock) in the build repository as it will be generated at the time of build.\n\nFor MkDocs, docker image is using [mkdocs-material](https://squidfunk.github.io/mkdocs-material/) theme developed by [Martin Donath](https://github.com/squidfunk).\n\n**NOTE:** docker image with a `latest` tag may have breaking changes and may not work with one or more of static site engines if your code is not compatible with the latest version. Please check [Release page](https://github.com/sbamin/sitebuilder/releases) for breaking changes, if any. If so, you may try using previous version of a docker image.\n\n### Serve local for testing\n\n\u003eWARN: Only for testing purpose. Container by default will expose ports 4000, 8000, and 1313. Depending on firewall settings in the host machine, this may expose website contents to intranet or public at the exposed port(s). Make sure that firewall is secure enough and stop server immediately after testing.\n\n```sh\n## First go to root directory containing respective website repository.\n\n## mkdocs, preview at http://0.0.0.0:4000\ndocker run -v \"$(pwd):/web\" --rm -P -p 127.0.0.1:4000:4000 sbamin/sitebuilder mkdocs serve -a 0.0.0.0:4000\n\n## jekyll, preview at http://0.0.0.0:4000\n## PS: For jekyll serve, --no-watch may be needed on apple silicon\n## with an open issue with rb-notify gem.\ndocker run -v \"$(pwd):/web\" --rm -P -p 127.0.0.1:4000:4000 sbamin/sitebuilder jekyll serve --watch --host=0.0.0.0 -c _devconfig.yml -d _sitelocal\n\n## hugo, preview at http://0.0.0.0:4000\ndocker run -v \"$(pwd):/web\" --rm -P -p 127.0.0.1:4000:4000 sbamin/sitebuilder hugo server --bind 0.0.0.0 --port 4000\n```\n\n### Build local\n\n\u003eBuild website will be under **\u003croot_directory\u003e/site**.\n\n```sh\n## mkdocs\ndocker run -v \"$(pwd):/web\" --rm sbamin/sitebuilder mkdocs build --clean --site-dir site\n\n## jekyll\ndocker run -v \"$(pwd):/web\" --rm sbamin/sitebuilder jekyll build -c _config.yml --destination site\n\n## hugo\ndocker run -v \"$(pwd):/web\" sbamin/sitebuilder hugo --cleanDestinationDir --destination site\n```\n\n### Get singularity SIF image\n\nIf you prefer using [singularity](https://docs.sylabs.io/guides/3.5/user-guide/singularity_and_docker.html) SIF image, run following command to get an updated SIF image.\n\n```sh\nsingularity run docker://sbamin/sitebuilder:latest\n```\n\nEND\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbamin%2Fsitebuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbamin%2Fsitebuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbamin%2Fsitebuilder/lists"}