11notes/apk

By 11notes

Updated 14 days ago

Build Alpine apk, quick and easy

Image
0

495

banner

⛰️ apk

sizeversionpulls

Build Alpine apk, quick and easy

MAIN TAGS 🏷️

These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.

SYNOPSIS 📖

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.

BUILD 🚧

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;

DEFAULT SETTINGS 🗃️

ParameterValueDescription
userdockeruser name
uid1000user identifier
gid1000group identifier
home/buildhome directory of user docker

ENVIRONMENT 📝

ParameterValueDefault
TZTime Zone
DEBUGWill activate debug option for container image and app (if available)

SOURCE 💾

PARENT IMAGE 🏛️

BUILT WITH 🧰

GENERAL TIPS 📌

  • Use a reverse proxy like Traefik, Nginx, HAproxy to terminate TLS and to protect your endpoints
  • Use Let’s Encrypt DNS-01 challenge to obtain valid SSL certificates for your services

SECURITY VULNERABILITIES REPORT ⚡

SeverityPackageVersionFix VersionTypeLocationData NamespaceLink
4.7 (Medium)linux-pam1.6.1-r1apk/lib/apk/db/installednvd:cpeCVE-2024-10041

ElevenNotes™️

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 Command

docker pull 11notes/apk