rust-lang / rust-lang/docker-rust

Different architecture for 1.77.2 when using on a arm mac

Open
#201 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
537
Forks
111
Avg merge
1d 38m
Merged PRs (30d)
4

Description

Hi,

When I try to use official images, it looks like all of them report aarch64 as the running architecture. Except for the 1.77.2 version:

$ docker run --rm -it rust:1.77 uname -m
aarch64
$ docker run --rm -it rust:1.77.1 uname -m
aarch64
$ docker run --rm -it rust:1.77.2 uname -m
armv7l
$ docker run --rm -it rust:1.78 uname -m
aarch64

I would expect that it would be the same for all versions.

I'm on a macOS 13.6.6 (22G630) on Apple M2 Pro with docker desktop 4.25.0 (126437).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the official image definitions or build inputs for tags 1.77, 1.77.1, 1.77.2, and 1.78, then reproduce the reported docker run commands with uname -m. Done means the 1.77.2 image reports the same expected architecture as the neighboring versions on the reported Apple M2 setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, rust
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.