docker-alpine icon indicating copy to clipboard operation
docker-alpine copied to clipboard

Fix apk repositories for edge images

Open andypost opened this issue 5 years ago • 7 comments

Fixes https://github.com/gliderlabs/docker-alpine/issues/375

andypost avatar Dec 07 '18 19:12 andypost

it does not build because minirootfs archives missing

andypost avatar Dec 07 '18 20:12 andypost

If you set fs_version=3.8.0 it will build fine. Look at the directory structure and you will see that this is the maximum we can get from the edge folder ( eg. for aarch64, http://dl-cdn.alpinelinux.org/alpine/edge/releases/aarch64/ )

julianxhokaxhiu avatar Dec 07 '18 20:12 julianxhokaxhiu

Yes, it builds fine but still contains 3.8 and /etc/apk/repoditories points to 3.8 as well

Probably it needs some sed on it to replace

Would be great to get @ncopa POV

andypost avatar Dec 07 '18 23:12 andypost

Looking better at the repository structure, you don't even need to patch the options files.

Instead you have to run the script mentioned here and just replace the relative rootfs for each architecture: https://github.com/gliderlabs/docker-alpine/tree/master/builder

Then this PR will be good to go.

julianxhokaxhiu avatar Dec 08 '18 10:12 julianxhokaxhiu

we should make upstream minirootfs images for edge too

ncopa avatar Jan 21 '19 19:01 ncopa

Yep, that's where I stuck

andypost avatar Jan 21 '19 19:01 andypost

Is there any kind of help that can be provided to get this fixed?

J0WI avatar Mar 02 '19 20:03 J0WI