Skip to content
项目

关于

精心打造的 Alpine Docker 镜像,包含 glibc(约 12 MB)。

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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:

Builder

docker buildx build --platform linux/arm64,linux/amd64 --build-arg GLIBC_VERSION=2.42 -t alpine-glibc:2.42 .

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:

探索相关项目

加载中…