https://github.com/docker-hub-frolvlad/docker-alpine-glibc
Carefully crafted Alpine Docker image with glibc (~12MB)
https://github.com/docker-hub-frolvlad/docker-alpine-glibc
alpine docker-image glibc
Last synced: 14 days ago
JSON representation
Carefully crafted Alpine Docker image with glibc (~12MB)
- Host: GitHub
- URL: https://github.com/docker-hub-frolvlad/docker-alpine-glibc
- Owner: Docker-Hub-frolvlad
- License: mit
- Created: 2015-11-05T03:16:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-04-06T21:02:36.000Z (16 days ago)
- Last Synced: 2025-04-09T10:04:18.532Z (14 days ago)
- Topics: alpine, docker-image, glibc
- Language: Shell
- Homepage: https://hub.docker.com/r/frolvlad/alpine-glibc/
- Size: 37.1 KB
- Stars: 744
- Watchers: 19
- Forks: 190
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://hub.docker.com/r/frolvlad/alpine-glibc/)
[](https://hub.docker.com/r/frolvlad/alpine-glibc/)Alpine GNU C library (glibc) Docker image
=========================================This image is based on Alpine Linux image, which is only a 5MB image, and contains glibc to enable
proprietary projects compiled against glibc (e.g. OracleJDK, Anaconda) work on Alpine.This image includes some quirks to make [glibc](https://www.gnu.org/software/libc/) work side by
side with musl libc (default in Alpine Linux). glibc packages for Alpine Linux are prepared by
[Sasha Gerrand](https://github.com/sgerrand) and the releases are published in
[sgerrand/alpine-pkg-glibc](https://github.com/sgerrand/alpine-pkg-glibc) github repo.If you need to update your libc library cache, use `/usr/glibc-compat/sbin/ldconfig` instead of the usual `/sbin/ldconfig`. You can also use the `LD_LIBRARY_PATH` as on standard libc-based distributions.
Download size of this image is only:
[](http://microbadger.com/images/frolvlad/alpine-glibc "Get your own image badge on microbadger.com")
Builder
-------------```Shell
docker buildx build --platform linux/arm64,linux/amd64 --build-arg GLIBC_VERSION=2.39 -t alpine-glibc:2.39 .
```Usage Example
-------------This image is intended to be a base image for your projects, so you may use it like this:
```Dockerfile
FROM frolvlad/alpine-glibcCOPY ./my_app /usr/local/bin/my_app
``````sh
$ docker build -t my_app .
```There are already several images using this image, so you can refer to them as usage examples:
* [`frolvlad/alpine-oraclejdk8`](https://hub.docker.com/r/frolvlad/alpine-oraclejdk8/) ([github](https://github.com/frol/docker-alpine-oraclejdk8))
* [`frolvlad/alpine-mono`](https://hub.docker.com/r/frolvlad/alpine-mono/) ([github](https://github.com/frol/docker-alpine-mono))
* [`denoland/deno:alpine`](https://hub.docker.com/r/denoland/deno/) ([github](https://github.com/denoland/deno_docker/blob/main/alpine.dockerfile))