Thanks to #28 it is possible to install additional packages using --build-arg ADDITIONAL_PACKAGE=<package-names>. However, you can only install packages from the default repositories defined in /etc/apk/repositories.
Possible Solution
Add another build argument ADDITIONAL_REPOSITORY, whose content is appended to /etc/apk/repositories and update the package list. This might be accomplished by modifying an existing installation statement in the Dockerfile
RUN apk --no-cache add ca-certificates ${ADDITIONAL_PACKAGE}
Thanks to #28 it is possible to install additional packages using
--build-arg ADDITIONAL_PACKAGE=<package-names>
. However, you can only install packages from the default repositories defined in/etc/apk/repositories
.Possible Solution
Add another build argument
ADDITIONAL_REPOSITORY
, whose content is appended to/etc/apk/repositories
and update the package list. This might be accomplished by modifying an existing installation statement in the Dockerfileto
Thereby, you can build it using two additional repositories