Sign inSign up

sirmark/alpine-glibc

By sirmark

Updated 3 days ago

Alpine Docker image with glibc packages.

Image
Operating systems
1

1.1K

sirmark/alpine-glibc repository overview

Alpine GNU C library (glibc) Docker image

This image is based on Alpine Linux official 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.

Fork from frolvlad/alpine-glibc

No latest tag, please use specific version tags.

Docker Pull Command

docker pull sirmark/alpine-glibc:3.24-glibc2.44

Usage Example

Pull and run.

$ docker pull sirmark/alpine-glibc:3.24-glibc2.44
$ docker run --rm -it sirmark/alpine-glibc:3.24-glibc2.44

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

FROM sirmark/alpine-glibc:3.24-glibc2.44

COPY ./my_app /usr/local/bin/my_app

Then, build and run the Docker image:

$ docker build -t my_app .
$ docker run -it --rm --name my-running-app my_app

Tag summary

Content type

Image

Digest

sha256:9973f0ebf

Size

10.9 MB

Last updated

3 days ago

docker pull sirmark/alpine-glibc:3.24-glibc2.44