Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong apk repository in arm64v8/alpine:edge #375

Closed
pbestler opened this issue Jan 11, 2018 · 7 comments
Closed

Wrong apk repository in arm64v8/alpine:edge #375

pbestler opened this issue Jan 11, 2018 · 7 comments

Comments

@pbestler
Copy link
Contributor

I verified the image which was build (and supplied on docker hub) after the merge request #374. It looks good, at least it boots correctly.

There is another issue with the rootfs in the docker image for raspberry arm64v8/alpine:edge.

CDN do not really provide a complete edge rootfs. We utilize the latest, atm 3.7, in the image then there are the wrong package repositories (still 3.7 instead of edge). You can find it at the file /etc/apk/repositories.

The following hack in the Dockerfile will do the trick

sed -i -e 's/v3\.7/edge/g' /etc/apk/repositories &&
apk upgrade &&
apk update

But imo, its not very convenient/error-prone to fiddle always around with the version number. Isn't there a better place or even better couldn't we do the build like in library-edge/x86_64.
On the other hand edge is rolling so in fact the built docker image is most of the time outdated and require a update.

Drop me your opinion @andyshinn and I will try to provide u a patch again.

@pbestler pbestler changed the title Wrong apk repository in library edge Wrong apk repository in arm64v8/alpine:edge Jan 11, 2018
@andyshinn
Copy link
Contributor

I think I understand what you mean.

@ncopa is there any chance we might eventually have minirootfs variants for edge or should we make some builder modifications to replace the /etc/apk/repositories or edge releases?

@ncopa
Copy link
Collaborator

ncopa commented Jan 19, 2018

I think we should make minirootfs variants for edge. Will look into it

@andypost
Copy link

andypost commented Apr 4, 2018

Confirm the bug

root@scw-arm8:~# docker run --rm -it alpine:edge ash
/ # apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/aarch64/APKINDEX.tar.gz
v3.7.0-133-g4cd48f4cdb [http://dl-cdn.alpinelinux.org/alpine/v3.7/main]
v3.7.0-134-ge544add7e6 [http://dl-cdn.alpinelinux.org/alpine/v3.7/community]

@julianxhokaxhiu
Copy link

I can confirm it too, also impacting armv6/alpine. Please fix it.

@ptkdev
Copy link

ptkdev commented Sep 28, 2018

+1

@andypost
Copy link

andypost commented Dec 7, 2018

Filer PR but looks there's no rootfs images for edge...

ncopa added a commit to ncopa/official-images that referenced this issue Mar 6, 2019
Builds are now only generated from upstream minirootfs taballs. The
release and update scripts have been refactored and moved to
https://githib.com/alpinelinux/docker-alpine

This commit also include update of all supported images:
- edge (20190228 snapshot)
- v3.9.2
- v3.8.4
- v3.7.3
- v3.6.5

This commit also introduces v3.9 armv7 image and remove unsupported
branches v3.5 and older.

fixes at least the following issues:
- gliderlabs/docker-alpine#495
- gliderlabs/docker-alpine#471
- gliderlabs/docker-alpine#463
- gliderlabs/docker-alpine#460
- gliderlabs/docker-alpine#455
- gliderlabs/docker-alpine#430 (security)
- gliderlabs/docker-alpine#375
ncopa added a commit to ncopa/official-images that referenced this issue Mar 6, 2019
Builds are now only generated from upstream minirootfs taballs. The
release and update scripts have been refactored and moved to
https://github.com/alpinelinux/docker-alpine

This commit also include update of all supported images:
- edge (20190228 snapshot)
- v3.9.2
- v3.8.4
- v3.7.3
- v3.6.5

This commit also introduces v3.9 armv7 image and remove unsupported
branches v3.5 and older.

fixes at least the following issues:
- gliderlabs/docker-alpine#495
- gliderlabs/docker-alpine#471
- gliderlabs/docker-alpine#463
- gliderlabs/docker-alpine#460
- gliderlabs/docker-alpine#455
- gliderlabs/docker-alpine#430 (security)
- gliderlabs/docker-alpine#375
ncopa added a commit to ncopa/official-images that referenced this issue Mar 6, 2019
Builds are now only generated from upstream minirootfs taballs. The
release and update scripts have been refactored and moved to
https://github.com/alpinelinux/docker-alpine

This commit also include update of all supported images:
- edge (20190228 snapshot)
- v3.9.2
- v3.8.4
- v3.7.3
- v3.6.5

This commit also introduces v3.9 armv7 image and remove unsupported
branches v3.5 and older.

fixes at least the following issues:
- gliderlabs/docker-alpine#495
- gliderlabs/docker-alpine#471
- gliderlabs/docker-alpine#463
- gliderlabs/docker-alpine#460
- gliderlabs/docker-alpine#455
- gliderlabs/docker-alpine#430 (security)
- gliderlabs/docker-alpine#375
ncopa added a commit to ncopa/official-images that referenced this issue Mar 7, 2019
Builds are now only generated from upstream minirootfs taballs. The
release and update scripts have been refactored and moved to
https://github.com/alpinelinux/docker-alpine

This commit also include update of all supported images:
- edge (20190228 snapshot)
- v3.9.2
- v3.8.4
- v3.7.3
- v3.6.5

This commit also introduces v3.9 armv7 image and remove unsupported
branches v3.5 and older.

fixes at least the following issues:
- gliderlabs/docker-alpine#495
- gliderlabs/docker-alpine#471
- gliderlabs/docker-alpine#463
- gliderlabs/docker-alpine#460
- gliderlabs/docker-alpine#455
- gliderlabs/docker-alpine#430 (security)
- gliderlabs/docker-alpine#375
@ncopa
Copy link
Collaborator

ncopa commented Mar 18, 2019

this is fixed with docker-library/official-images#5516

Sorry for taking so long time.

@ncopa ncopa closed this as completed Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants