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

alpine mold package not found

Open gitmalong opened this issue 2 years ago • 1 comments

Running a Dockerfile build on my Macbook M1 machine.

FROM rust:alpine3.15
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing mold
> [builder  3/18] RUN apk add mold --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing:                                     
#8 0.210 fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz                                                
#8 0.843 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz
#8 6.116 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz
#8 7.728 ERROR: unable to select packages:
#8 7.749   mold (no such package):
#8 7.749     required by: world[mold]
------
executor failed running [/bin/sh -c apk add mold --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing]: exit code: 1

Package link: https://pkgs.alpinelinux.org/package/edge/testing/x86_64/mold

Might the issue be that I am running my Docker image on a MacBook with M1 (ARM) procesor while the package is only available for x86_64? If yes I'm not sure who would be responsible for that.

https://github.com/rui314/mold/issues/428

gitmalong avatar Apr 15 '22 09:04 gitmalong

I see mold was added in 3.17

https://pkgs.alpinelinux.org/package/v3.17/community/x86_64/mold

wdlkmpx avatar Dec 24 '22 02:12 wdlkmpx