{"id":15651637,"url":"https://github.com/crazy-max/docker-alpine-s6","last_synced_at":"2025-04-14T19:33:39.257Z","repository":{"id":36998471,"uuid":"285296834","full_name":"crazy-max/docker-alpine-s6","owner":"crazy-max","description":"Alpine Linux with s6 overlay","archived":false,"fork":false,"pushed_at":"2024-10-05T16:33:07.000Z","size":262,"stargazers_count":33,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-18T07:32:41.078Z","etag":null,"topics":["alpine","alpine-linux","docker","s6-overlay","socklog-overlay"],"latest_commit_sha":null,"homepage":"","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/crazy-max.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"crazy-max","custom":"https://www.paypal.me/crazyws"}},"created_at":"2020-08-05T13:30:48.000Z","updated_at":"2024-10-05T16:31:30.000Z","dependencies_parsed_at":"2023-12-26T17:16:12.532Z","dependency_job_id":"cb9eea57-5559-42ab-9612-a79b4d307ce4","html_url":"https://github.com/crazy-max/docker-alpine-s6","commit_stats":null,"previous_names":[],"tags_count":65,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-alpine-s6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-alpine-s6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-alpine-s6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazy-max%2Fdocker-alpine-s6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazy-max","download_url":"https://codeload.github.com/crazy-max/docker-alpine-s6/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248946101,"owners_count":21187451,"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":["alpine","alpine-linux","docker","s6-overlay","socklog-overlay"],"created_at":"2024-10-03T12:39:27.377Z","updated_at":"2025-04-14T19:33:39.249Z","avatar_url":"https://github.com/crazy-max.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/crazy-max","https://www.paypal.me/crazyws"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/crazy-max/docker-alpine-s6/actions?workflow=build\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/crazy-max/docker-alpine-s6/build.yml?branch=master\u0026label=build\u0026logo=github\u0026style=flat-square\" alt=\"Build Status\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/crazymax/alpine-s6/\"\u003e\u003cimg src=\"https://img.shields.io/docker/stars/crazymax/alpine-s6.svg?style=flat-square\u0026logo=docker\" alt=\"Docker Stars\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/crazymax/alpine-s6/\"\u003e\u003cimg src=\"https://img.shields.io/docker/pulls/crazymax/alpine-s6.svg?style=flat-square\u0026logo=docker\" alt=\"Docker Pulls\"\u003e\u003c/a\u003e\n  \u003cbr /\u003e\u003ca href=\"https://github.com/sponsors/crazy-max\"\u003e\u003cimg src=\"https://img.shields.io/badge/sponsor-crazy--max-181717.svg?logo=github\u0026style=flat-square\" alt=\"Become a sponsor\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.paypal.me/crazyws\"\u003e\u003cimg src=\"https://img.shields.io/badge/donate-paypal-00457c.svg?logo=paypal\u0026style=flat-square\" alt=\"Donate Paypal\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\nAlpine Linux with [s6 overlay](https://github.com/just-containers/s6-overlay/).\n\n\u003e [!TIP] \n\u003e Want to be notified of new releases? Check out 🔔 [Diun (Docker Image Update Notifier)](https://github.com/crazy-max/diun)\n\u003e project!\n\n___\n\n* [Features](#features)\n* [Usage](#usage)\n* [Alpine image](#alpine-image)\n* [Dist image](#dist-image)\n* [Supported tags](#supported-tags)\n* [Build](#build)\n* [Contributing](#contributing)\n* [License](#license)\n\n## Features\n\n* Multi-platform [alpine based](#alpine-image) and [distribution](#dist-image) images\n* Artifacts provided on [releases page](https://github.com/crazy-max/docker-alpine-s6/releases)\n\n## Usage\n\nThis repository provides two images. The first one is built on top of alpine\nso, you can use it as a base image for your own images:\n\n```dockerfile\nFROM crazymax/alpine-s6\nRUN apk add --no-cache nginx\nRUN echo \"daemon off;\" \u003e\u003e /etc/nginx/nginx.conf\nCMD [\"/usr/sbin/nginx\"]\n```\n\n\u003e [!NOTE]\n\u003e `ENTRYPOINT [\"/init\"]` is already defined in the base image so no need to add\n\u003e this command.\n\nThe second one is a [distribution image](#dist-image). This is a\nmulti-platform scratch image that only contains all the scripts and binaries\nneeded to run s6-overlay. This way you can use any base image and use the\n`COPY --from` command to copy the assets inside your image:\n\n```dockerfile\nFROM ubuntu\nCOPY --from=crazymax/alpine-s6-dist / /\nRUN apt-get update \u0026\u0026 apt-get install -y nginx\nRUN echo \"daemon off;\" \u003e\u003e /etc/nginx/nginx.conf\nCMD [\"/usr/sbin/nginx\"]\nENTRYPOINT [\"/init\"]\n```\n\n## Alpine image\n\n| Registry                                                                                             | Image                         |\n|------------------------------------------------------------------------------------------------------|-------------------------------|\n| [Docker Hub](https://hub.docker.com/r/crazymax/alpine-s6/)                                           | `crazymax/alpine-s6`          |\n| [GitHub Container Registry](https://github.com/users/crazy-max/packages/container/package/alpine-s6) | `ghcr.io/crazy-max/alpine-s6` |\n\n```\n$ docker buildx imagetools inspect crazymax/alpine-s6 --format \"{{json .Manifest}}\" | \\\n  jq -r '.manifests[] | select(.platform.os != null and .platform.os != \"unknown\") | .platform | \"\\(.os)/\\(.architecture)\\(if .variant then \"/\" + .variant else \"\" end)\"'\n\nlinux/386\nlinux/amd64\nlinux/arm/v6\nlinux/arm/v7\nlinux/arm64\nlinux/ppc64le\nlinux/riscv64\nlinux/s390x\n```\n\n## Dist image\n\n| Registry                                                                                                  | Image                              |\n|-----------------------------------------------------------------------------------------------------------|------------------------------------|\n| [Docker Hub](https://hub.docker.com/r/crazymax/alpine-s6-dist/)                                           | `crazymax/alpine-s6-dist`          |\n| [GitHub Container Registry](https://github.com/users/crazy-max/packages/container/package/alpine-s6-dist) | `ghcr.io/crazy-max/alpine-s6-dist` |\n\n```\n$ docker buildx imagetools inspect crazymax/alpine-s6-dist --format \"{{json .Manifest}}\" | \\\n  jq -r '.manifests[] | select(.platform.os != null and .platform.os != \"unknown\") | .platform | \"\\(.os)/\\(.architecture)\\(if .variant then \"/\" + .variant else \"\" end)\"'\n\nlinux/386\nlinux/amd64\nlinux/arm/v6\nlinux/arm/v7\nlinux/arm64\nlinux/ppc64le\nlinux/riscv64\nlinux/s390x\n```\n\n## Supported tags\n\n* `edge`, `edge-x.x.x.x`\n* `latest-edge`, `3.21-edge`\n* `latest`, `latest-x.x.x.x`, `3.21`, `3.21-x.x.x.x`\n* `3.20-edge`\n* `3.20`, `3.20-x.x.x.x`\n* `3.19-edge`\n* `3.19`, `3.19-x.x.x.x`\n* `3.18-edge`\n* `3.18`, `3.18-x.x.x.x`\n* `3.17-edge`\n* `3.17`, `3.17-x.x.x.x`\n* `3.16-edge`\n* `3.16`, `3.16-x.x.x.x`\n\n\u003e `x.x.x.x` has to be replaced with one of the s6-overlay releases available (e.g. `3.1.0.1`).\n\n## Build\n\n```shell\ngit clone https://github.com/crazy-max/docker-alpine-s6.git\ncd docker-alpine-s6\n\n# Build image and output to docker (default)\ndocker buildx bake\n\n# Build tarballs to ./dist\ndocker buildx bake artifact-all\n\n# Build multi-platform image\ndocker buildx bake image-all\n\n# Build multi-platform dist image\ndocker buildx bake image-dist-all\n```\n\n## Contributing\n\nWant to contribute? Awesome! The most basic way to show your support is to star\nthe project, or to raise issues. You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max)\nor by making a [PayPal donation](https://www.paypal.me/crazyws) to ensure this\njourney continues indefinitely!\n\nThanks again for your support, it is much appreciated! :pray:\n\n## License\n\nMIT. See `LICENSE` for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazy-max%2Fdocker-alpine-s6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazy-max%2Fdocker-alpine-s6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazy-max%2Fdocker-alpine-s6/lists"}