You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, we have no issues running in amd64 environments, but on Apple Silicon trying to build with --platform linux/amd64 and/or FROM --platform linux/amd64 ghcr.io/void-linux/void-glibc-full:latest gives us package manager issues:
=> CACHED [1/5] FROM ghcr.io/void-linux/void-glibc-full:latest@sha256:7f582c504050231708e55e10de0fd816c9f2dac721 0.0s
=> ERROR [2/5] RUN xbps-install -Syu && xbps-install -y curl tar xz 1.6s
------
> [2/5] RUN xbps-install -Syu && xbps-install -y curl tar xz:
1.558 ERROR: [reposync] failed to fetch file `https://repo-default.voidlinux.org/current/x86_64-repodata': Requested Range Not Satisfiable
1.566 [*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
Any idea on how to work around this locally? Apologies if this should be more obvious, tried a few different things. Works fine in CI though!
The text was updated successfully, but these errors were encountered:
ctjlewis
changed the title
Help emulating amd64 on M1?
Help debugging xbps issue when emulating amd64 on Apple Silicon?
Mar 10, 2024
docker needs qemu-user-static + binfmt-support to run non-native platform containers, but it seems to be running the container fine. not sure what the issue with fetching is. does a native (linux/arm64) container work?
Hey, we have no issues running in amd64 environments, but on Apple Silicon trying to build with
--platform linux/amd64
and/orFROM --platform linux/amd64 ghcr.io/void-linux/void-glibc-full:latest
gives us package manager issues:Any idea on how to work around this locally? Apologies if this should be more obvious, tried a few different things. Works fine in CI though!
The text was updated successfully, but these errors were encountered: