Skip to content

Commit

Permalink
Docs: Update glibc version
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerrand authored Feb 23, 2021
1 parent 53aa5a0 commit f37ad89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ A glibc binary package builder in Docker. Produces a glibc binary package that c

## Usage

Build a glibc package based on version 2.32 with a prefix of `/usr/glibc-compat`:
Build a glibc package based on version 2.33 with a prefix of `/usr/glibc-compat`:

docker run --rm --env STDOUT=1 sgerrand/glibc-builder 2.32 /usr/glibc-compat > glibc-bin.tar.gz
docker run --rm --env STDOUT=1 sgerrand/glibc-builder 2.33 /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.32 /usr/glibc-compat
docker cp glibc-binary:/glibc-bin-2.32.tar.gz ./
docker run --name glibc-binary sgerrand/glibc-builder 2.33 /usr/glibc-compat
docker cp glibc-binary:/glibc-bin-2.33.tar.gz ./
docker rm glibc-binary

0 comments on commit f37ad89

Please sign in to comment.