{"id":20663242,"url":"https://github.com/sitepilot/docker-runtime","last_synced_at":"2026-05-03T11:34:45.529Z","repository":{"id":200958245,"uuid":"704026680","full_name":"sitepilot/docker-runtime","owner":"sitepilot","description":"Docker Runtime is an optimized and extendable Ubuntu container image for developing application and service containers.","archived":false,"fork":false,"pushed_at":"2024-02-06T08:27:58.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"1.x","last_synced_at":"2025-04-21T09:55:05.923Z","etag":null,"topics":["docker","docker-image","ubuntu"],"latest_commit_sha":null,"homepage":"https://sitepilot.io","language":"Shell","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/sitepilot.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}},"created_at":"2023-10-12T11:43:01.000Z","updated_at":"2023-10-18T14:24:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"fee2a718-03ee-430d-9338-a4e924da3221","html_url":"https://github.com/sitepilot/docker-runtime","commit_stats":null,"previous_names":["sitepilot/docker-runtime"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sitepilot/docker-runtime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitepilot%2Fdocker-runtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitepilot%2Fdocker-runtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitepilot%2Fdocker-runtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitepilot%2Fdocker-runtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sitepilot","download_url":"https://codeload.github.com/sitepilot/docker-runtime/tar.gz/refs/heads/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sitepilot%2Fdocker-runtime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"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":["docker","docker-image","ubuntu"],"created_at":"2024-11-16T19:17:05.939Z","updated_at":"2026-05-03T11:34:45.500Z","avatar_url":"https://github.com/sitepilot.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Runtime\n\nDocker Runtime is an optimized and extendable Ubuntu container image for developing application and service containers.\n\n## Usage\n\nTo use this image as a base image and avoid potential breaking changes in your container builds, use the following \nimage naming pattern in your `Dockerfile`:\n\n```Dockerfile\nFROM ghcr.io/sitepilot/runtime:{{release-version}}\n```\n\nThe images are tagged according to Semantic Versioning (SemVer). Available releases can be found on the [releases page](https://github.com/sitepilot/docker-runtime/releases). For example, if you wish to customize version 1.x of the image:\n\n```Dockerfile\n# Guaranteed backward compatibility, new features and bug fixes.\nFROM ghcr.io/sitepilot/runtime:1\n```\n\n```Dockerfile\n# Guaranteed backward compatibility and bug fixes.\nFROM ghcr.io/sitepilot/runtime:1.0\n```\n\n```Dockerfile\n# Guaranteed backward compatibility and no updates.\nFROM ghcr.io/sitepilot/runtime:1.0.0\n```\n\n## Versions\n\nThe following Runtime versions are available:\n\n* [1.x](https://github.com/sitepilot/docker-runtime/tree/1.x) - Ubuntu 22.04 LTS\n\n## Examples\n\nYou can find example implementations in the following repositories:\n\n* [https://github.com/sitepilot/docker-php](https://github.com/sitepilot/docker-php/blob/1.x/src/Dockerfile)\n* [https://github.com/sitepilot/docker-proxy](https://github.com/sitepilot/docker-proxy/blob/1.x/src/Dockerfile)\n\n## Filesystem\n\n⚠️ The `/runtime` folder should **never** be mounted to a volume.\n\n### Folders\n\n| Folder                  | Description                                                                    |\n|-------------------------|--------------------------------------------------------------------------------|\n| `/runtime/bin`          | Contains executable files used for building and running the container.         |\n| `/runtime/entrypoint.d` | Each file in this folder is executed before the container command is executed. |\n| `/runtime/inc`          | Contains helper files for bash scripts an generating templates.                |\n| `/runtime/logs`         | Contains temporary container log files.                                        |\n| `/runtime/run`          | Contains temporary container pid-files.                                        |\n| `/runtime/templates`    | Contains configuration templates.                                              |\n\n### Files\n\n| File                               | Description                                                                                                                                                   |\n|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `/runtime/bin/runtime`             | Default `ENTRYPOINT` script which executes each script in the `entrypoint.d` folder before running container command.                                         |\n| `/runtime/bin/rt-chown`            | Change the owner and group of a file (this allows services and scripts to access this file while running the container with a non-root user).                 |\n| `/runtime/bin/rt-rchown`           | Recursively change the owner and group of a folder (this allows services and scripts to access this folder while running the container with a non-root user). |\n| `/runtime/bin/rt-install`          | Installs packages and clean up cache.                                                                                                                         |\n| `/runtime/entrypoint.d/10-init.sh` | Initialize the container user when running as root (e.g. name, group, password, uid, gid).                                                                    |\n| `/runtime/entrypoint.d/20-logo.sh` | Displays the brand logo.                                                                                                                                      |\n| `/runtime/entrypoint.d/30-info.sh` | Displays container info.                                                                                                                                      |\n| `/runtime/inc/bash-functions`      | Contains useful bash functions.                                                                                                                               |\n| `/runtime/inc/template-filters`    | Contains useful template filters.                                                                                                                             |\n\n## Environment\n\nThe following environment variables are available:\n\n| Name                     | Value                   | Description                                                                    |\n|--------------------------|-------------------------|--------------------------------------------------------------------------------|\n| `RUNTIME_UID`            | `1000`                  | The ID of the container user.                                                  |\n| `RUNTIME_GID`            | `1000`                  | The ID of the container user group.                                            |\n| `RUNTIME_USER`           | `app`                   | The container user name.                                                       |\n| `RUNTIME_GROUP`          | `app`                   | The container user group.                                                      |\n| `RUNTIME_PASSWORD`       | -                       | The container user password.                                                   |\n| `RUNTIME_LOG_LEVEL`      | `1`                     | The container log level (`1` = debug, `2` = info, `3` = warning, `4` = error). |\n| `RUNTIME_DIR`            | `/runtime`              | Path to the runtime folder.                                                    |\n| `RUNTIME_WORKDIR`        | `/app`                  | Path to the container workdir (application root).                              |\n| `RUNTIME_BIN_DIR`        | `/runtime/bin`          | Path to the runtime `bin` folder.                                              |\n| `RUNTIME_INC_DIR`        | `/runtime/inc`          | Path to the runtime `inc` folder.                                              |\n| `RUNTIME_RUN_DIR`        | `/runtime/run`          | Path to the runtime `run` folder.                                              |\n| `RUNTIME_LOGS_DIR`       | `/runtime/logs`         | Path to the runtime `logs` folder.                                             |\n| `RUNTIME_TEMPLATES_DIR`  | `/runtime/templates`    | Path to the runtime `templates` folder.                                        |\n| `RUNTIME_ENTRYPOINT_DIR` | `/runtime/entrypoint.d` | Path to the runtime `entrypoint.d` folder.                                     |\n| `RUNTIME_BOOTED_FILE`    | `/runtime/booted`       | Path to the runtime `booted` file.                                             |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitepilot%2Fdocker-runtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsitepilot%2Fdocker-runtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitepilot%2Fdocker-runtime/lists"}