Skip to content

enhance(ci): convert latest tag into multiplatform tag#84

Open
robertkirkman wants to merge 1 commit into
termux:masterfrom
robertkirkman:latest-tag-all-arch
Open

enhance(ci): convert latest tag into multiplatform tag#84
robertkirkman wants to merge 1 commit into
termux:masterfrom
robertkirkman:latest-tag-all-arch

Conversation

@robertkirkman
Copy link
Copy Markdown
Member

- The `latest` tag will now automatically determine the architecture before downloading the appropriate image, instead of being hardcoded to a single architecture.

- This will allow the `docker run -it termux/termux-docker` command to work on non-x86_64 devices, without having to explicitly specify the `:aarch64` tag.

- No additional significant storage space will be used in the DockerHub account, and the preexisting four architecture-specific tags will remain usable, for backwards compatibility

- Upstream documentation:
  - https://docs.docker.com/build/building/multi-platform/
  - https://docs.docker.com/reference/cli/docker/manifest/

- Example in other distro's Docker image: https://hub.docker.com/layers/library/debian/trixie/images/

- Related: termux/proot-distro#666 (comment)

- Live test of my technique to make sure it will work: https://github.com/users/robertkirkman/packages/container/package/termux-docker (`docker run -it gchr.io/robertkirkman/termux-docker`)
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

Successfully merging this pull request may close these issues.

1 participant