Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Introduce Alpine v3.20 #38

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ We tag each release with the Alpine Linux version used. Here are the tags to cho
* `sgerrand/alpine-abuild:3.16`: based on Alpine 3.16
* `sgerrand/alpine-abuild:3.17`: based on Alpine 3.17
* `sgerrand/alpine-abuild:3.18`: based on Alpine 3.18
* `sgerrand/alpine-abuild:3.19`: based on [Alpine 3.19](https://alpinelinux.org/posts/Alpine-3.19.0-released.html)
* `sgerrand/alpine-abuild:3.19`: based on Alpine 3.19
* `sgerrand/alpine-abuild:3.20`: based on [Alpine 3.20](https://alpinelinux.org/posts/Alpine-3.20.0-released.html)
* `sgerrand/alpine-abuild:edge`: based on Alpine edge (includes testing repository as well)

The builder is typically run from your Alpine Linux package source directory (changing `~/.abuild/mykey.rsa` and `~/.abuild/mykey.rsa.pub` to your packager private and public key locations):
Expand All @@ -36,7 +37,7 @@ docker run \
-v "$PWD:/home/builder/package" \
-v "$HOME/.abuild/packages:/packages" \
-v "$HOME/.abuild/mykey.rsa.pub:/etc/apk/keys/mykey.rsa.pub" \
sgerrand/alpine-abuild:3.19
sgerrand/alpine-abuild:3.20
```

This would build the package at your current working directory, and place the resulting packages in `~/.abuild/packages/builder/x86_64`. Subsequent builds of packages will update the `~/.abuild/packages/builder/x86_64/APKINDEX.tar.gz` file.
Expand All @@ -58,7 +59,7 @@ There are a number of environment variables you can change at package build time
You can use this image to generate keys if you don't already have them. Generate them in a container using the following command (replacing `YOUR NAME <YOUR@EMAIL>` with your own name and email):

```
docker run --name keys --entrypoint abuild-keygen -env PACKAGER="YOUR NAME <YOUR@EMAIL>" sgerrand/alpine-abuild:3.19 -n
docker run --name keys --entrypoint abuild-keygen -env PACKAGER="YOUR NAME <YOUR@EMAIL>" sgerrand/alpine-abuild:3.20 -n
```

You'll see some output like the following:
Expand Down