alpinelinux / docker-alpine

Official Alpine Linux Docker image. Win at minimalism!
MIT License
1.04k stars 261 forks source link

alpine mold package not found #247

Open gitmalong opened 2 years ago

gitmalong commented 2 years ago

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

wdlkmpx commented 1 year ago

I see mold was added in 3.17

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