{"id":15704218,"url":"https://github.com/cicirello/gnu-on-alpine","last_synced_at":"2026-01-31T22:07:34.694Z","repository":{"id":39852709,"uuid":"293616636","full_name":"cicirello/gnu-on-alpine","owner":"cicirello","description":"A lightweight Docker container for shell scripting with GNU tools on Alpine Linux","archived":false,"fork":false,"pushed_at":"2025-08-12T13:13:08.000Z","size":119,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-10T02:57:11.916Z","etag":null,"topics":["alpine","alpine-linux","bash","coreutils","docker-image","findutils","gawk","linux"],"latest_commit_sha":null,"homepage":"https://actions.cicirello.org/gnu-on-alpine/","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/cicirello.png","metadata":{"funding":{"github":"cicirello","patreon":null,"open_collective":null,"ko_fi":"cicirello","tidelift":null,"community_bridge":null,"liberapay":"cicirello","issuehunt":null,"otechie":null,"custom":null},"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-09-07T19:37:45.000Z","updated_at":"2025-08-12T13:13:05.000Z","dependencies_parsed_at":"2024-01-28T06:24:46.889Z","dependency_job_id":"8624ca6b-395d-4ef5-89a3-3a2cb21eae35","html_url":"https://github.com/cicirello/gnu-on-alpine","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/cicirello/gnu-on-alpine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cicirello%2Fgnu-on-alpine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cicirello%2Fgnu-on-alpine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cicirello%2Fgnu-on-alpine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cicirello%2Fgnu-on-alpine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cicirello","download_url":"https://codeload.github.com/cicirello/gnu-on-alpine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cicirello%2Fgnu-on-alpine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28956995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-linux","bash","coreutils","docker-image","findutils","gawk","linux"],"created_at":"2024-10-03T20:10:46.867Z","updated_at":"2026-01-31T22:07:34.679Z","avatar_url":"https://github.com/cicirello.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/cicirello","https://ko-fi.com/cicirello","https://liberapay.com/cicirello"],"categories":[],"sub_categories":[],"readme":"# gnu-on-alpine\n\n[![gnu-on-alpine - A lightweight Docker container for shell scripting with GNU tools on Alpine Linux)](https://actions.cicirello.org/images/gnu-on-alpine640.png)](#gnu-on-alpine)\n\nWebsite for our GitHub Actions and tools for developing them: https://actions.cicirello.org/\n\n\n| __Docker Hub__ | [![Docker Image Version (latest by date)](https://img.shields.io/docker/v/cicirello/gnu-on-alpine?label=Docker%20Hub\u0026logo=docker)](https://hub.docker.com/r/cicirello/gnu-on-alpine) [![Docker Pulls](https://img.shields.io/docker/pulls/cicirello/gnu-on-alpine?logo=docker)](https://hub.docker.com/r/cicirello/gnu-on-alpine) |\n| :--- | :--- |\n| __GitHub__ | [![GitHub release (latest by date)](https://img.shields.io/github/v/release/cicirello/gnu-on-alpine?logo=github)](https://github.com/cicirello/gnu-on-alpine/releases) |\n| __Image Stats__ | [![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/cicirello/gnu-on-alpine?logo=docker)](https://hub.docker.com/r/cicirello/gnu-on-alpine) |\n| __Build Status__ | [![build](https://github.com/cicirello/gnu-on-alpine/workflows/build/badge.svg)](https://github.com/cicirello/gnu-on-alpine/actions/workflows/docker-image.yml) |\n| __License__ | [![License](https://img.shields.io/github/license/cicirello/gnu-on-alpine)](https://github.com/cicirello/gnu-on-alpine/blob/master/LICENSE) |\n| __Support__ | [![GitHub Sponsors](https://img.shields.io/badge/sponsor-30363D?logo=GitHub-Sponsors\u0026logoColor=#EA4AAA)](https://github.com/sponsors/cicirello) [![Liberapay](https://img.shields.io/badge/Liberapay-F6C915?logo=liberapay\u0026logoColor=black)](https://liberapay.com/cicirello) [![Ko-Fi](https://img.shields.io/badge/Ko--fi-F16061?logo=ko-fi\u0026logoColor=white)](https://ko-fi.com/cicirello) |\n\n## Summary\nThe gnu-on-alpine Docker image is designed\nto support shell scripting using GNU tools,\nsuch as the bash shell, gawk, coreutils, and\nfindutils, while keeping the image size relatively \nsmall. Alpine Linux is used as the base \nimage. The gnu-on-alpine image adds \nbash, findutils, coreutils, and gawk on top \nof Alpine Linux.\n\nFor more information, see my blog post on DEV: [gnu-on-alpine and alpine-plus-plus: Two Lightweight Containers for Implementing GitHub Container Actions with Shell Scripting](https://dev.to/cicirello/gnu-on-alpine-and-alpine-plus-plus-two-lightweight-containers-for-implementing-github-container-actions-with-shell-scripting-360i).\n\n## Multiplatform Image\n\ngnu-on-alpine has the following platforms available:\n* linux/386\n* linux/amd64\n* linux/arm/v6\n* linux/arm/v7\n* linux/arm64\n* linux/ppc64le\n* linux/s390x\n\n## Source Repository and Builds\n\nThe [source repository](https://github.com/cicirello/gnu-on-alpine) is maintained on GitHub.  The images are built on Github and pushed to [Docker Hub](https://hub.docker.com/r/cicirello/gnu-on-alpine), as well as the [Github Container Registry](https://github.com/cicirello?ecosystem=container\u0026tab=packages) using Github Actions.\n\n\n## Docker Tags and Versioning Scheme\n\nEach image pushed to Docker Hub and the Github Container Registry is tagged as follows:\n* The tag `latest` indicates, well, the latest image.\n* Tags of the form MAJOR.MINOR.PATCH (such as 3.13.5) indicate the SemVer of \n  the __Alpine__ image used as the base.\n* Tags of the form MAJOR.MINOR (e.g., 3.13) correspond to the most recent patch level of\n  the __Alpine__ image used as the base. For example, if 3.13.5 is the latest\n  release, then 3.13 maps to this as well.\n* Tags of the form MAJOR (e.g., 3) correspond to the most recent patch level of\n  the __Alpine__ image used as the base, with major corresponding major version. \n  For example, if 3.13.5 is the latest release, then 3 maps to this as well.\n\n[Semantic Versioning](https://semver.org/) uses version numbers \nof the form: MAJOR.MINOR.PATCH, where differences in \nMAJOR correspond to incompatible changes, differences in MINOR \ncorrespond to introduction of backwards compatible new functionality, \nand PATCH corresponds to backwards compatible bug fixes.\n\n\n## Installation and Usage\n\nThe pre-built image is hosted on both Docker Hub and the Github Container Registry. You can use it in the following ways.\n\n### Docker Pull Command\n\nPull the latest image from Docker Hub with the following (replace `latest` with \na specific version number if you prefer):\n\n```\ndocker pull cicirello/gnu-on-alpine:latest\n```\n\nPull from the Github Container Registry with:\n\n```\ndocker pull ghcr.io/cicirello/gnu-on-alpine:latest\n```\n\n\n### Use as a base image in a Dockerfile\n\nUse as a base image in a Dockerfile (replace `latest` with \na specific version number if you prefer):\n\n```Dockerfile\nFROM cicirello/gnu-on-alpine:latest\n\n# The rest of your Dockerfile would go here.\n```\n\nOr you can use as a base image (via the Github Container Registry) with:\n\n```Dockerfile\nFROM ghcr.io/cicirello/gnu-on-alpine:latest\n\n# The rest of your Dockerfile would go here.\n```\n\n## License\n### Source Code License\nThe source code, including the Dockerfile and anything\nelse within the [Github repository for gnu-on-alpine](https://github.com/cicirello/gnu-on-alpine), is licensed under the\n[MIT License](https://github.com/cicirello/gnu-on-alpine/blob/master/LICENSE).\n\n### Image Licenses\nAs with all pre-built Docker images, the image itself (once built, or obtained from\nDocker Hub or the Github Container Registry) contains software that is covered by a\nvariety of licenses. Since the base image is Alpine, this would include\nthe [licenses of the components of Alpine](https://pkgs.alpinelinux.org/);\nand also includes the [licenses of the GNU tools added to the image](https://www.gnu.org/licenses/gpl-3.0.en.html).  \n\nIf you build and distribute an image containing your software, \nusing gnu-on-alpine as the base image, it\nis your responsibility to follow the licenses of all of the\nsoftware contained within the image.  At the time that this documentation\nis written, one of the effects of the combination of those licenses is\na constraint on the licensing of such a pre-built image containing \nyour software to the GPL 3.0 or later (derived from the inclusion of bash \nand the other GNU tools).  If you desire a more permissive license\nfor your software, one approach would be to instead distribute a\nDockerfile that builds the image containing your software, \nrather than a pre-built image of your software, which should circumvent the\nissue since you would no longer be distributing a derivative of \nGPL licensed software.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcicirello%2Fgnu-on-alpine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcicirello%2Fgnu-on-alpine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcicirello%2Fgnu-on-alpine/lists"}