{"id":44088661,"url":"https://github.com/hackforla/ghpages-docker","last_synced_at":"2026-02-08T10:38:43.157Z","repository":{"id":38839244,"uuid":"500229707","full_name":"hackforla/ghpages-docker","owner":"hackforla","description":"Docker file to build image pegged to GitHub Pages dependencies","archived":false,"fork":false,"pushed_at":"2022-10-06T18:23:51.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":38,"default_branch":"main","last_synced_at":"2024-05-01T11:43:42.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hackforla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-05T22:49:21.000Z","updated_at":"2022-06-21T21:31:52.000Z","dependencies_parsed_at":"2023-01-19T12:45:37.405Z","dependency_job_id":null,"html_url":"https://github.com/hackforla/ghpages-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"hackforla/.github-hackforla-base-repo-template","purl":"pkg:github/hackforla/ghpages-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackforla%2Fghpages-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackforla%2Fghpages-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackforla%2Fghpages-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackforla%2Fghpages-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackforla","download_url":"https://codeload.github.com/hackforla/ghpages-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackforla%2Fghpages-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29227975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T09:43:19.170Z","status":"ssl_error","status_checked_at":"2026-02-08T09:42:55.556Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-02-08T10:38:42.408Z","updated_at":"2026-02-08T10:38:43.149Z","avatar_url":"https://github.com/hackforla.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Pages Docker\n\nThis repo contains the source code (i.e. Dockerfile and related scripts) required to build a Docker image that is pegged to the dependency versions used by GitHub Pages. It is based on the official [Jekyll Docker image](https://github.com/envygeeks/jekyll-docker). The resulting Docker image is hosted on [Hack for LA’s Docker Hub repo](https://hub.docker.com/r/hackforlaops/ghpages/tags).\n\nThis Docker image is specifically designed to run a local Jekyll server for developing and testing the Hack for LA organization’s website. It is not intended for deployment. However, the image can be used by anyone who requires a local development environment that mirrors GitHub Pages.\n\nMore detailed technical information can be find on this repo's [wiki](https://github.com/hackforla/ghpages-docker/wiki).\n\n\n## Usage instructions\n\n### If you are a member of the Hack for LA organization:\nThis repo uses a GitHub Action to build and push the Docker image to the [hackforlaops/ghpages repo](https://hub.docker.com/r/hackforlaops/ghpages/tags) on Docker Hub. The newly-built image will replace the previous version, and appear with the tag `latest`. The build-and-push action can be triggered in one of two ways:\n1. Automatically, whenever a new commit is pushed that changes the *Dockerfile*, *.dockerignore* file, *.gitignore* file, or anything in the `/copy` directory. (Commits to any other files will not trigger a new build.) This means that a new image will be built automatically any time the Dockerfile is updated to match a new version of Ruby or Jekyll being used by GitHub Pages.\n2. Manually, by navigating to the **Actions** tab in the menu bar at the top of the repo, clicking on the **Publish Docker Image** workflow in the list of workflows on the left, and then clicking the **Run Workflow** button on the right. This will build and push a new image whether any changes have been made or not.\n\n### If you are NOT a member of Hack for LA:\nHack for LA's website is run locally using `docker compose`. To use this image in the same way for your own Jekyll-based projects, do the following: \n1. Create or modify a `docker-compose.yml` file in the root of your website directory with the following lines. (Note that you should replace `\u003cyour-name\u003e` with whatever you would like your Docker container to be called.)\n```\nversion: \"3\"\nservices:\n  \u003cyour-name\u003e:\n    image: hackforlaops/ghpages:latest\n    container_name: \u003cyour-name\u003e\n    command: jekyll serve --force_polling --livereload --config _config.yml,_config.docker.yml -I\n    environment:\n      - JEKYLL_ENV=docker\n    ports:\n      - 4000:4000\n      - 35729:35729\n    volumes:\n      - .:/srv/jekyll\n```\n2. Create a new file in the root of your website called `_config.docker.yml` with a single line:\n```\nurl: \"http://localhost:4000\"\n```\n3. Run `docker compose up`.\n\n### Licensing\n\nThis code is made available under the [GNU General Public License v2.0](https://github.com/hackforla/ghpages-docker/blob/main/LICENSE)\n\n*this readme file sourced from [Jessica Sand](http://jessicasand.com/other-stuff/just-enough-docs/)*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackforla%2Fghpages-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackforla%2Fghpages-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackforla%2Fghpages-docker/lists"}