Skip to content

Commit

Permalink
⚡ Update maintainer details
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerrand committed Jun 7, 2016
1 parent 8ccbcfd commit 3db7b4c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 31 deletions.
22 changes: 9 additions & 13 deletions README.md
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
9 changes: 0 additions & 9 deletions andyshinn.rsa.pub

This file was deleted.

18 changes: 9 additions & 9 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ dependencies:
- git fetch --tags
- go get github.com/tcnksm/ghr
- mkdir packages
- echo -e "$RSA_PUBLIC_KEY" > packages/andyshinn.rsa.pub
- echo -e "$RSA_PUBLIC_KEY" > packages/sgerrand.rsa.pub
override:
- docker run -e RSA_PRIVATE_KEY="$RSA_PRIVATE_KEY" -e RSA_PRIVATE_KEY_NAME="andyshinn.rsa" -v $(pwd):/home/builder/package -v $(pwd)/packages:/home/builder/packages andyshinn/alpine-abuild
- docker run -e RSA_PRIVATE_KEY="$RSA_PRIVATE_KEY" -e RSA_PRIVATE_KEY_NAME="sgerrand.rsa" -v $(pwd):/home/builder/package -v $(pwd)/packages:/home/builder/packages sgerrand/alpine-abuild

test:
override:
- docker run -it -v $(pwd)/packages:/packages gliderlabs/alpine:3.3 sh -c "cp /packages/andyshinn.rsa.pub /etc/apk/keys/ && apk -U add --no-progress --upgrade /packages/builder/x86_64/*.apk"
- docker run -it -v $(pwd)/packages:/packages gliderlabs/alpine:3.3 sh -c "cp /packages/sgerrand.rsa.pub /etc/apk/keys/ && apk -U add --no-progress --upgrade /packages/builder/x86_64/*.apk"

deployment:
release:
tag: /[0-9]+(\.[0-9]+){1,2}(\-r\d+)?$/
owner: andyshinn
owner: sgerrand
commands:
- ghr -u andyshinn $CIRCLE_TAG packages/
- ghr -u andyshinn $CIRCLE_TAG packages/builder/x86_64
- ghr -u sgerrand $CIRCLE_TAG packages/
- ghr -u sgerrand $CIRCLE_TAG packages/builder/x86_64
master:
branch: master
owner: andyshinn
owner: sgerrand
commands:
- ghr -u andyshinn --prerelease --delete unreleased packages
- ghr -u andyshinn --prerelease unreleased packages/builder/x86_64
- ghr -u sgerrand --prerelease --delete unreleased packages
- ghr -u sgerrand --prerelease unreleased packages/builder/x86_64
10 changes: 10 additions & 0 deletions sgerrand.rsa.pub
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-----

0 comments on commit 3db7b4c

Please sign in to comment.