Why I want to know this:
Currently, I use apt-get source to get the source code for all packages within my Debian based docker images to comply with the GPL when I distribute the docker images.
Now there are e few docker images where I would like to use the alpine based docker image but I don't know how to get the source code used to build the packages within these docker images.
What I found out so far:
If there were an equivalent for apt-get source for alpine linux this wouldn't be a problem (the documentation does not mention a source option for apk)
The Github page only contains the scripts and patches but not the exact source code, but then the build scripts just seem to get the source code from upstream.
They have to provide the source code somewhere since they are surely distributing some GPL licensed binaries within there docker images.
How to get (exactly) the source code used to build the packages of an alpine docker image?