{"id":13436009,"url":"https://github.com/praekeltfoundation/alpine-buildpack-deps","last_synced_at":"2025-03-18T12:30:56.056Z","repository":{"id":66951267,"uuid":"56598501","full_name":"praekeltfoundation/alpine-buildpack-deps","owner":"praekeltfoundation","description":"An attempt at a \"buildpack-deps\"-like Docker image with Alpine Linux","archived":true,"fork":false,"pushed_at":"2019-03-28T12:25:37.000Z","size":59,"stargazers_count":30,"open_issues_count":0,"forks_count":2,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-12-21T12:36:37.705Z","etag":null,"topics":["alpine","alpine-linux","buildpack-deps","docker"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/praekeltfoundation/alpine-buildpack-deps/","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/praekeltfoundation.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}},"created_at":"2016-04-19T13:21:16.000Z","updated_at":"2023-01-28T18:42:28.000Z","dependencies_parsed_at":"2023-02-22T19:31:28.264Z","dependency_job_id":null,"html_url":"https://github.com/praekeltfoundation/alpine-buildpack-deps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praekeltfoundation%2Falpine-buildpack-deps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praekeltfoundation%2Falpine-buildpack-deps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praekeltfoundation%2Falpine-buildpack-deps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praekeltfoundation%2Falpine-buildpack-deps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/praekeltfoundation","download_url":"https://codeload.github.com/praekeltfoundation/alpine-buildpack-deps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244222143,"owners_count":20418455,"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","buildpack-deps","docker"],"created_at":"2024-07-31T03:00:42.178Z","updated_at":"2025-03-18T12:30:56.047Z","avatar_url":"https://github.com/praekeltfoundation.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"# alpine-buildpack-deps\n\n## *Note: this project is no longer maintained.*\n\n[![Docker Pulls](https://img.shields.io/docker/pulls/praekeltfoundation/alpine-buildpack-deps.svg)](https://hub.docker.com/r/praekeltfoundation/alpine-buildpack-deps/)\n[![Build Status](https://img.shields.io/travis/praekeltfoundation/alpine-buildpack-deps/master.svg)](https://travis-ci.org/praekeltfoundation/alpine-buildpack-deps)\n\nAn attempt at a \"buildpack-deps\"-like Docker image with Alpine Linux\n\n### Images\nThe base image is the [official Docker Alpine image](https://hub.docker.com/_/alpine/).\n\nThis repo contains a set of images similar to the official [buildpack-deps](https://hub.docker.com/_/buildpack-deps/) images.\n\n| **Tag**  | **Base image** | **Description**                                               |\n|----------|----------------|---------------------------------------------------------------|\n| `curl`   | `alpine:3.x`   | Alpine with `curl` and `wget`                                 |\n| `scm`    | `:curl`        | `:curl` with source control management (SCM) tools            |\n| `latest` | `:scm`         | `:scm` with build tools and development libraries             |\n\n## Caveats\n* A best effort was made to find equivalent Alpine packages for the Debian packages in the official buildpack-deps. The packages may not always be *100% equivalent*.\n* The code you're compiling in buildpack-deps could make assumptions about the host that are not necessarily true for Alpine Linux. For example:\n  * That the standard Unix tools are the GNU implementations\n  * That the standard C library is `glibc`\n  * That the paths to development files are the Debian paths\n* The default/`latest` tag for this image is ~~*not*~~ significantly smaller than the Debian/Ubuntu-based buildpack-deps images~~, although it is roughly the same size (~190MB compressed, ~660MB uncompressed). The reason for this is that the Alpine development libraries for PostgreSQL and MySQL are significantly bigger than the Debian ones.~~ If you are hoping to make a small \"buildpack-deps\"-based Docker image, you're probably doing Docker images wrong.\n\n## Packages\nThe packages in the `curl` and `scm` variants mostly have the same names in Alpine Linux as they do in the Debian/Ubuntu source. The translation of packages for the `latest` image is a bit more complicated, though. The packages used are listed below.\n\n### `curl`\n[Upstream](https://github.com/docker-library/buildpack-deps/blob/9f60e19008458220114f1a0b6cd3710f1015d402/stretch/curl/Dockerfile)\n\n| **buildpack-deps** | **alpine-buildpack-deps** |\n|--------------------|---------------------------|\n| `ca-certificates`  | `ca-certificates`         |\n| `curl`             | `curl`                    |\n| `dirmngr`          | `gnupg`                   |\n| `gnupg`            | `gnupg`                   |\n| `netbase`          | `alpine-baselayout`*      |\n| `wget`             | `busybox`                 |\n\nAdditionally, we install the `tar` package in the `curl` image. This installs the GNU version of tar, which has more features than the BusyBox tar provided with Alpine Linux. In particular, the `--strip-components` option only available in GNU tar is commonly used in the Docker official images when extracting source code from tarballs.\n\n\\*This package is one of the base packages of Alpine Linux. It includes most of the `netbase` files including `/etc/protocols` and `/etc/services`.\n\n### `scm`\n[Upstream](https://github.com/docker-library/buildpack-deps/blob/1845b3f918f69b4c97912b0d4d68a5658458e84f/stretch/scm/Dockerfile)\n\n| **buildpack-deps** | **alpine-buildpack-deps** |\n|--------------------|---------------------------|\n| `git`              | `git`                     |\n| `mercurial`        | `mercurial`               |\n| `openssh-client`   | `openssh-client`          |\n| `procps`           | `procps`                  |\n| `subversion`       | `subversion`              |\n\n### `latest`\n[Upstream](https://github.com/docker-library/buildpack-deps/blob/587934fb063d770d0611e94b57c9dd7a38edf928/stretch/Dockerfile)\n\n| **buildpack-deps**     | **alpine-buildpack-deps**        |\n|------------------------|----------------------------------|\n| `autoconf`             | `autoconf`                       |\n| `automake`             | `automake`                       |\n| `bzip2`                | `bzip2`                          |\n| `dpkg-dev`             | `dpkg`, `dpkg-dev`               |\n| `file`                 | `file`                           |\n| `g++`                  | `g++`                            |\n| `gcc`                  | `gcc`                            |\n| `imagemagick`          | `imagemagick-dev`                |\n| `libbz2-dev`           | `bzip2-dev`                      |\n| `libc6-dev`            | `libc-dev`, `linux-headers`      |\n| `libcurl4-openssl-dev` | `curl-dev`                       |\n| `libdb-dev`            | `db-dev`                         |\n| `libevent-dev`         | `libevent-dev`                   |\n| `libffi-dev`           | `libffi-dev`                     |\n| `libgdbm-dev`          | `gdbm-dev`                       |\n| `libgeoip-dev`         | `geoip-dev`                      |\n| `libglib2.0-dev`       | `glib-dev`                       |\n| `libjpeg-dev`          | `jpeg-dev`                       |\n| `libkrb5-dev`          | `krb5-dev`                       |\n| `liblzma-dev`          | `xz-dev`                         |\n| `libmagickcore-dev`    | `imagemagick-dev`                |\n| `libmagickwand-dev`    | `imagemagick-dev`                |\n| `libmysqlclient-dev`   | `mariadb-dev`*                   |\n| `libncurses5-dev`      | `ncurses-dev`                    |\n| `libncursesw5-dev`     | `ncurses-dev`                    |\n| `libpng-dev`           | `libpng-dev`                     |\n| `libpq-dev`            | `postgresql-dev`*                |\n| `libreadline-dev`      | `readline-dev`                   |\n| `libsqlite3-dev`       | `sqlite-dev`                     |\n| `libssl-dev`           | `openssl-dev`/(`libressl-dev`)** |\n| `libtool`              | `libtool`                        |\n| `libwebp-dev`          | `libwebp-dev`                    |\n| `libxml2-dev`          | `libxml2-dev`                    |\n| `libxslt-dev`          | `libxslt-dev`                    |\n| `libyaml-dev`          | `yaml-dev`                       |\n| `make`                 | `make`                           |\n| `patch`                | `patch`                          |\n| `unzip`                | `busybox`                        |\n| `xz-utils`             | `xz`                             |\n| `zlib1g-dev`           | `zlib-dev`                       |\n\n\\*Alpine Linux doesn't have development packages for MySQL or PostgreSQL that include only the headers/libraries necessary for client-side libraries. These Alpine packages are quite large because they include server headers/libraries as well.\n\\**Alpine Linux between versions 3.5 and 3.8 used LibreSSL. For version 3.9, they switched back to OpenSSL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraekeltfoundation%2Falpine-buildpack-deps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraekeltfoundation%2Falpine-buildpack-deps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraekeltfoundation%2Falpine-buildpack-deps/lists"}