-
-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
28 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,25 @@ | ||
# alpine-pkg-glibc | ||
|
||
[![CircleCI](https://img.shields.io/circleci/project/andyshinn/alpine-pkg-glibc/master.svg)](https://circleci.com/gh/andyshinn/alpine-pkg-glibc) | ||
[![CircleCI](https://img.shields.io/circleci/project/sgerrand/alpine-pkg-glibc/master.svg)](https://circleci.com/gh/sgerrand/alpine-pkg-glibc) | ||
|
||
This is the GNU C library as a Alpine Linux package to run binaries linked against `glibc`. This package utilizes a custom built glibc binary based on the vanilla glibc source. Built binary artifacts come from https://github.com/andyshinn/docker-glibc-builder. | ||
This is the GNU C library as a Alpine Linux package to run binaries linked against `glibc`. This package utilizes a custom built glibc binary based on the vanilla glibc source. Built binary artifacts come from https://github.com/sgerrand/docker-glibc-builder. | ||
|
||
## Releases | ||
|
||
See the [releases page](https://github.com/andyshinn/alpine-pkg-glibc/releases) for the latest download links. If you are using tools like `localdef` you will need the `glibc-bin` and `glibc-i18n` packages in addition to the `glibc` package. | ||
See the [releases page](https://github.com/sgerrand/alpine-pkg-glibc/releases) for the latest download links. If you are using tools like `localdef` you will need the `glibc-bin` and `glibc-i18n` packages in addition to the `glibc` package. | ||
|
||
## Installing | ||
|
||
The current installation method for these packages is to pull them in using `wget` or `curl` and install the local file with `apk`: | ||
|
||
``` | ||
apk --no-cache add ca-certificates | ||
wget -q -O /etc/apk/keys/andyshinn.rsa.pub https://raw.githubusercontent.com/andyshinn/alpine-pkg-glibc/master/andyshinn.rsa.pub | ||
wget https://github.com/andyshinn/alpine-pkg-glibc/releases/download/2.23-r1/glibc-2.23-r1.apk | ||
apk add glibc-2.23-r1.apk | ||
``` | ||
apk --no-cache add ca-certificates | ||
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://raw.githubusercontent.com/sgerrand/alpine-pkg-glibc/master/sgerrand.rsa.pub | ||
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.23-r1/glibc-2.23-r1.apk | ||
apk add glibc-2.23-r1.apk | ||
|
||
## Locales | ||
|
||
You will need to generate your locale if you would like to use a specific one for your glibc application. You can do this by installing the `glibc-i18n` package and generating a locale using the `localedef` binary. An example for en_US.UTF-8 would be: | ||
|
||
``` | ||
apk add glibc-bin-2.23-r1.apk glibc-i18n-2.23-r1.apk | ||
/usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8 | ||
``` | ||
apk add glibc-bin-2.23-r1.apk glibc-i18n-2.23-r1.apk | ||
/usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-e -----BEGIN PUBLIC KEY----- | ||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8PPnzNQU/dK+C5PG5Fdh | ||
FHDr8isnIzLrNISB3/DobVG700VYdd7q654etSmoB9PQjuUXLejBUN2CUx/8Gs1w | ||
IFQ8xFa1pMRhwq6/ECUfkWFpKwzotTIaW4NkQ6pWrXoKTQF45741izERdvwE3bRZ | ||
/OWLQwk+sXVLMAHMhXy4Ae2lN3jyaJTnUHtedI/rWrFnaLF9tOMwme9zRNd9OiHy | ||
i9puDbNM7pqW1PzLaqSXhtZH2We6sxf1AQdY0OFIfC1PszefAjLCaAI1chuwLOwM | ||
RY/n0wOS9GbdFqoxXEIQnKBgrOLfNrFAIvoVgL35zznI6JYWm/Cw6M603KTR+ldP | ||
SQIDAQAB | ||
-----END PUBLIC KEY----- | ||
|