Skip to content

Change apk install command to not use a virtual package any more

Bart Ribbers requested to merge alpine-deps into master

When something gets installed with --virtual <something>, it basically creates a new package on the fly that depends on everything you add after it. However if you run the command again but with other packages after it, the newly created virtual package will depend on the new packages instead.

The command used here was used both for Perl dependencies and system dependencies, meaning one invocation of that command would overwrite the packages from the other. Thus you can never actually have both the Perl dependencies installed and the ones required for actually building stuff.

It was a nice way to easily be able to get rid of all build dependencies when wanting to clean up but it's not feasible any more with the current way the code is written, so better just install everything without the virtual package.

Merge request reports

Loading