Skip to content

termux-docker images should be properly labeled with their native arch #35

@truboxl

Description

@truboxl

https://hub.docker.com/r/termux/termux-docker/tags

Currently all the images are labelled as linux/amd64. I think they should be properly fixed so that supposedly they can run on their own native architectures without any Docker warnings.

  1. Though I am not quite settled for:
    arm to use linux/arm or linux/arm/v7 or linux/arm32v7?
    aarch64 to use linux/aarch64 or linux/arm/v8 or linux/arm64 or linux/arm64v8?
    i686 (which is also "latest") to change to linux/i386?

  2. We also need to look into adding busybox that are native to their arches
    The one at https://github.com/termux/termux-docker/blob/4c08c24bceb13cecd1d18153dfddbbf5fe70bb71/system/arm/bin/busybox is currently 32bit arm static binary (checksum cd04052b8b6885f75f50b2a280bfcbf849d8710c8e61d369c533acf307eda064) which based on https://github.com/hazy/google-distroless/blob/master/WORKSPACE#L423 is coming from https://busybox.net/downloads/binaries/1.31.0-defconfig-multiarch-musl/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions