forked from sgerrand/alpine-pkg-glibc
-
Notifications
You must be signed in to change notification settings - Fork 3
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
2 changed files
with
54 additions
and
1 deletion.
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,3 +1,49 @@ | ||
# Satoshi Portal, what we did | ||
|
||
## Build abuild | ||
|
||
``` | ||
git clone https://github.com/SatoshiPortal/docker-alpine-abuild.git | ||
cd docker-alpine-abuild/ | ||
docker build -t cyphernode/alpine-abuild . | ||
``` | ||
|
||
## Our keys | ||
|
||
``` | ||
docker run --name keys --entrypoint abuild-keygen -e PACKAGER="Cyphernode Team <[email protected]>" cyphernode/alpine-abuild -n | ||
mkdir ~/.abuild | ||
docker cp keys:/home/builder/.abuild/[email protected] ~/.abuild/ | ||
docker cp keys:/home/builder/.abuild/[email protected] ~/.abuild/ | ||
``` | ||
|
||
## Builder | ||
|
||
``` | ||
git clone https://github.com/satoshiportal/docker-glibc-builder.git | ||
cd docker-glibc-builder/ | ||
docker build -t cyphernode/glibc-builder . | ||
cd ../builder | ||
docker run --name glibc-binary cyphernode/glibc-builder 2.29 /usr/glibc-compat | ||
``` | ||
|
||
``` | ||
docker cp glibc-binary:/glibc-bin-2.29.tar.gz ./ | ||
mv glibc-bin-2.29.tar.gz glibc-bin-2.29-0-x86_64.tar.gz | ||
mv glibc-bin-2.29.tar.gz glibc-bin-2.29-0-aarch64.tar.gz | ||
mv glibc-bin-2.29.tar.gz glibc-bin-2.29-0-armhf.tar.gz | ||
docker rm glibc-binary | ||
``` | ||
|
||
## Packager | ||
|
||
``` | ||
git clone https://github.com/satoshiportal/alpine-pkg-glibc | ||
cd alpine-pkg-glibc/ | ||
./package.sh | ||
``` | ||
|
||
|
||
# alpine-pkg-glibc | ||
|
||
[![CircleCI](https://circleci.com/gh/sgerrand/alpine-pkg-glibc/tree/master.svg?style=svg)](https://circleci.com/gh/sgerrand/alpine-pkg-glibc/tree/master) ![x86_64](https://img.shields.io/badge/x86__64-supported-brightgreen.svg) | ||
|
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 |
---|---|---|
|
@@ -5,4 +5,11 @@ docker rm -f input | |
docker create --name input --volume /home/builder/package alpine:3.9 /bin/true | ||
docker cp . input:/home/builder/package/ | ||
|
||
docker run --volumes-from input --volume $(pwd)/ssh.rsa:/home/builder/ssh.rsa --volume $(pwd)/apk:/packages cyphernode/alpine-abuild | ||
docker run -it --volumes-from input \ | ||
-e RSA_PRIVATE_KEY_NAME="[email protected]" \ | ||
-e PACKAGER="Cyphernode Team <[email protected]>" \ | ||
-e PACKAGER_PRIVKEY="/home/builder/.abuild/[email protected]" \ | ||
-v "$HOME/.abuild:/home/builder/.abuild" \ | ||
-v "$HOME/.abuild/packages:/packages" \ | ||
-v "$HOME/.abuild/[email protected]:/etc/apk/keys/[email protected]" \ | ||
cyphernode/alpine-abuild |