{"id":18974485,"url":"https://github.com/fabiodcorreia/docker-base-alpine","last_synced_at":"2026-04-16T00:32:28.415Z","repository":{"id":115454997,"uuid":"273449469","full_name":"fabiodcorreia/docker-base-alpine","owner":"fabiodcorreia","description":"A custom base image built with Alpine Linux and S6 overlay.","archived":false,"fork":false,"pushed_at":"2020-07-11T12:10:52.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T18:50:49.999Z","etag":null,"topics":["alpine","alpine-image","docker","docker-image","s6-overlay"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/fabiodcorreia/base-alpine","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabiodcorreia.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}},"created_at":"2020-06-19T09:04:32.000Z","updated_at":"2021-07-18T14:35:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"aba3cb23-1de5-4cc4-b0a2-604c19e93990","html_url":"https://github.com/fabiodcorreia/docker-base-alpine","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/fabiodcorreia/docker-base-alpine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiodcorreia%2Fdocker-base-alpine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiodcorreia%2Fdocker-base-alpine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiodcorreia%2Fdocker-base-alpine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiodcorreia%2Fdocker-base-alpine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiodcorreia","download_url":"https://codeload.github.com/fabiodcorreia/docker-base-alpine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiodcorreia%2Fdocker-base-alpine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31866330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["alpine","alpine-image","docker","docker-image","s6-overlay"],"created_at":"2024-11-08T15:15:13.670Z","updated_at":"2026-04-16T00:32:28.406Z","avatar_url":"https://github.com/fabiodcorreia.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Alpine Base Image\n\n![Maintenance](https://img.shields.io/maintenance/yes/2020?style=plastic) [![Drone Status](https://img.shields.io/drone/build/fabiodcorreia/docker-base-alpine?style=plastic)](https://cloud.drone.io/fabiodcorreia/docker-base-alpine) [![Latest Release](https://img.shields.io/github/v/release/fabiodcorreia/docker-base-alpine?style=plastic)](https://github.com/fabiodcorreia/docker-base-alpine/releases/latest) [![GitHub Licence](https://img.shields.io/github/license/fabiodcorreia/docker-base-alpine?style=plastic)](https://github.com/fabiodcorreia/docker-base-alpine/blob/master/LICENSE)\n\n\n![MicroBadger Layers](https://img.shields.io/microbadger/layers/fabiodcorreia/base-alpine?style=plastic) [![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/fabiodcorreia/base-alpine?style=plastic)](https://hub.docker.com/r/fabiodcorreia/base-alpine) [![Docker Pulls](https://img.shields.io/docker/pulls/fabiodcorreia/base-alpine?style=plastic)](https://hub.docker.com/r/fabiodcorreia/base-alpine) ![Docker Image Version (latest semver)](https://img.shields.io/docker/v/fabiodcorreia/base-alpine?sort=semver\u0026style=plastic)\n\nA custom base image built with Alpine Linux and S6 overlay.\n\n## Base Packages\n\n- bash\n- ca-certificates\n- coreutils\n- procps\n- s6-overlay\n- shadow\n- tzdata\n\n## Versioning\n\nThis image follows the [Semantic Versioning](https://semver.org/) pattern.\n\n- **MAJOR** version - Changes on the Alpine version (3.11 to 3.12)\n- **MINOR** version - Changes on the S6 Overlay (2.0.0 to 2.0.1)\n- **PATCH** version - Package updates and other non breaking changes on the image\n- **DRAFT** version - Unstable build for review (Optional)\n\n### Version Mapping\n\n| Version    | 1.0     | 1.1     | 2.0     |\n| :----:     | ---     | ---     | ----    |\n| Alpine     | 3.12    | 3.12    | 3.13    |\n| S6 overlay | 2.0.0.1 | 2.0.0.2 | 2.0.0.1 |\n\nWhen Alpine Linux gets upgraded the major version is incremented, when S6 overlay gets upgraded they minor version is incremented.\n\n## Tags\n\n| Tag | Description |\n| :----: | --- |\n| latest | Latest version |\n| 1.0.0 | Specific patch version |\n| 1.0 | Specific minor version |\n| 1 | Specific major version |\n| 1.0.0-`arch` | Specific patch version to that `arch` |\n| 1.0-`arch` | Specific minor version to that `arch` |\n| 1-`arch` | Specific major version to that `arch` |\n| test | Branch version - **DO NOT USE** |\n\nThe version tags are the same as the repository versioning tags but without the `v`. The `test` version is only for build purposes, it should not be pulled.\n\nThe `arch` can be one of the supported architectures described below.\n\n## Supported Architectures\n\n| Architecture | Tag |\n| :----: | --- |\n| x86-64 | amd64 |\n| arm64 | arm64v8 |\n| armhf | arm32v7 |\n\n\n## Environment Variables\n\n| Name | Description |\n| :----: | --- |\n| PUID | Set the UserID - [Details](#userid--groupid) |\n| PGID | Set the GroupID - [Details](#userid--groupid) |\n| TZ | Set the system timezone - [Options](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) |\n\n## UserID / GroupID\n\nTo avoid having permission issue when mounting volumes between the container and the host it's allowed to specify the user `PUID` and group `PGID`.\n\nIf the user exists on the host and has permissions to read and write on the host directory where the volume is mounted will solve this kind of issues.\n\nCreate for example a user `dockeruser` on the host it's possible to get the uid and gid for that user with the following command\n\n``` bash\nid dockeruser\n```\nthis command will return something like `uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)`, with this information we can set the `PUID=1000` and `PGID=1000`.\n\n\n## Environment Variable Alias\n\nSince each application uses different environment variables for the same thing, for example `DATABASE_HOST` or `DATABASE_USER` can be `DB_HOST` or `DB_USERNAME`,\nthe command [env-alias](root/usr/bin/env-alias) allows to create an alias for the application to use.\n\nFor example if the application expect an ENV called `APP_DB_HOST` but for consistency we use `DATABASE_HOST` inside one of the `init.d` scripts (before the ENV value is required), this command\ncan be executed and will make a link of the value.\n\n```bash\nenv-alias \"DATABASE_HOST\" \"APP_DB_HOST\"\n```\n\nAfter this when the value of `APP_DB_HOST` is requested it will get the value of `DATABASE_HOST`. If the source ENV doesn't exists it will remove the application env in case it's set.\n\n### Environment Variable Names\n\nFor common ENVs the names should be consistent across all the containers, a list of common names can be found [here](https://gist.github.com/fabiodcorreia/de318e5d311ead233aff5a4ccc271f19)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiodcorreia%2Fdocker-base-alpine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiodcorreia%2Fdocker-base-alpine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiodcorreia%2Fdocker-base-alpine/lists"}