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

Latest images seem to be built for the wrong architectures #449

Closed
krisrang opened this issue Apr 23, 2024 · 2 comments
Closed

Latest images seem to be built for the wrong architectures #449

krisrang opened this issue Apr 23, 2024 · 2 comments

Comments

@krisrang
Copy link

On an M1 Mac with Docker Desktop running:

docker run --rm -it ruby:3.3.1-alpine apk --print-arch
armhf
docker run --rm -it ruby:3.3.0-alpine apk --print-arch
aarch64
docker run --rm -it ruby:3.3.1-slim-bookworm dpkg --print-architecture
armel
docker run --rm -it ruby:3.3.0-slim-bookworm dpkg --print-architecture
arm64

Same for amd64, it gives i386 instead.

@tianon
Copy link
Member

tianon commented Apr 23, 2024

This is expected -- the builds are still in progress, so Docker is pulling for you the "best" architecture supported by your host system.

@krisrang
Copy link
Author

Ah I should've thought of that. Yea all works as expected now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants