Skip to content

Commit

Permalink
Merge pull request #38 from sgerrand/docs-introduce-alpine-3.20
Browse files Browse the repository at this point in the history
Docs: Introduce Alpine v3.20
  • Loading branch information
sgerrand authored Jul 1, 2024
2 parents 6501681 + 93547ca commit 8da63dc
Showing 1 changed file with 4 additions and 3 deletions.
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

0 comments on commit 8da63dc

Please sign in to comment.