11notes/apk
Build Alpine apk, quick and easy
These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.
What can I do with this? This image will let you build your own custom apk’s for Alpine in a self-containing and easy manner. Simply add all the projects you want to build to the /src
directory and execute amake
. This will create all your apk’s and put them into /apk
for user in other layers or to export them. You can also sparse checkout and build official packages from different releases by simply calling amake python3 main 3.18
which would build python3 in the latest version of Alpine 3.18 from the main branch. Since this is a sparse checkout, it will only download the python3 folder in question and not the entire aports repo, which makes for very quick builds.
FROM 11notes/apk:stable AS build
# build your apk
RUN set -ex; \
amake python3 main 3.19
FROM 11notes/alpine:stable
# copy apk
COPY --from=build /apk/ /apk
# install custom apk
RUN set -ex; \
apk --no-cache --allow-untrusted --repository /apk add \
python3=~3.11; \
rm -rf /apk;
Parameter | Value | Description |
---|---|---|
user | docker | user name |
uid | 1000 | user identifier |
gid | 1000 | group identifier |
home | /build | home directory of user docker |
Parameter | Value | Default |
---|---|---|
TZ | Time Zone | |
DEBUG | Will activate debug option for container image and app (if available) |
Severity | Package | Version | Fix Version | Type | Location | Data Namespace | Link |
---|---|---|---|---|---|---|---|
4.7 (Medium) | linux-pam | 1.6.1-r1 | apk | /lib/apk/db/installed | nvd:cpe | CVE-2024-10041 |
This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the releases for breaking changes. If you have any problems with using this image simply raise an issue, thanks. If you have a question or inputs please create a new discussion instead of an issue. You can find all my other repositories on github.
created Thu, 20 Feb 2025 13:52:05 GMT
docker pull 11notes/apk