Skip to content

mtcolman/docker-alpine-glibc

This branch is 34 commits behind Docker-Hub-frolvlad/docker-alpine-glibc:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c459874 · Jul 11, 2021

History

42 Commits
Jul 11, 2021
Nov 5, 2015
May 1, 2021

Repository files navigation

Docker Stars Docker Pulls

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 work side by side with musl libc (default in Alpine Linux). glibc packages for Alpine Linux are prepared by Sasha Gerrand and the releases are published in 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:

Usage Example

This image is intended to be a base image for your projects, so you may use it like this:

FROM frolvlad/alpine-glibc

COPY ./my_app /usr/local/bin/my_app
$ docker build -t my_app .

There are already several images using this image, so you can refer to them as usage examples:

About

Carefully crafted Alpine Docker image with glibc (~12MB)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%