Skip to content

Wrong apk repository in arm64v8/alpine:edge  #375

@pbestler

Description

@pbestler

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions