alpine-docker / git

A useful simple git container running in alpine linux, especially for tiny linux distro, such as RancherOS, which don't have package manager.
Apache License 2.0
155 stars 86 forks source link

Need help to test new build in different platforms #69

Closed ozbillwang closed 1 month ago

ozbillwang commented 1 month ago

From 30th Sept 2024, Circle CI deprecated the Remote Docker images I am using in Circle CI pipeline

image

Ref: https://discuss.circleci.com/t/remote-docker-image-deprecations-and-eol-for-2024/50176

i have tested the new Multi-Arch builds with Github Actions (https://github.com/alpine-docker/git/actions/runs/11143992652) (https://github.com/alpine-docker/git/pull/68)

and successfully push the new image as alpine/git:1cac1e6

image

i need help to run a test in other platforms linux/arm/v7,linux/arm64/v8,linux/arm/v6,linux/ppc64le,linux/s390x,linux/386

Thanks.

cc: @barthy1

ozbillwang commented 1 month ago

from my test (on macbook, intel chip only), it looks fine to me

$ cat test.sh
for platform in linux/amd64 linux/arm/v7 linux/arm64/v8 linux/arm/v6 linux/ppc64le linux/s390x linux/386
do
  echo "Platfom is $platform"
  docker run --rm -ti --platform "${platform}" --entrypoint=sh alpine/git:1cac1e6 -c "uname -a"
done

$  ./test.sh
Platfom is linux/amd64
Linux ae980d768430 6.10.4-linuxkit #1 SMP PREEMPT_DYNAMIC Mon Aug 12 08:48:58 UTC 2024 x86_64 Linux
Platfom is linux/arm/v7
Linux 78d1ec811eed 6.10.4-linuxkit #1 SMP PREEMPT_DYNAMIC Mon Aug 12 08:48:58 UTC 2024 armv7l Linux
Platfom is linux/arm64/v8
Linux ba7a061107fc 6.10.4-linuxkit #1 SMP PREEMPT_DYNAMIC Mon Aug 12 08:48:58 UTC 2024 aarch64 Linux
Platfom is linux/arm/v6
Linux d01b9d794968 6.10.4-linuxkit #1 SMP PREEMPT_DYNAMIC Mon Aug 12 08:48:58 UTC 2024 armv7l Linux
Platfom is linux/ppc64le
Linux 1ec3cf089913 6.10.4-linuxkit #1 SMP PREEMPT_DYNAMIC Mon Aug 12 08:48:58 UTC 2024 ppc64le Linux
Platfom is linux/s390x
Linux d32f5a7951bc 6.10.4-linuxkit #1 SMP PREEMPT_DYNAMIC Mon Aug 12 08:48:58 UTC 2024 s390x Linux
Platfom is linux/386
Linux 4a0fb62e57d7 6.10.4-linuxkit #1 SMP PREEMPT_DYNAMIC Mon Aug 12 08:48:58 UTC 2024 x86_64 Linux
ozbillwang commented 1 month ago

new pipeline has been released via #70