Skip to content

Kexkey/docker-glibc-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-glibc-builder

A glibc binary package builder in Docker. Produces a glibc binary package that can be imported into a rootfs to run applications dynamically linked against glibc.

Usage

Build a glibc package based on version 2.27 with a prefix of /usr/glibc-compat:

docker run --rm -e STDOUT=1 sgerrand/glibc-builder 2.27 /usr/glibc-compat > glibc-bin.tar.gz

You can also keep the container around and copy out the resulting file:

docker run --name glibc-binary sgerrand/glibc-builder 2.27 /usr/glibc-compat
docker cp glibc-binary:/glibc-bin-2.27.tar.gz ./
docker rm glibc-binary

About

A glibc binary package builder in Docker

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 65.3%
  • Dockerfile 34.7%