-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bill Wang
committed
Oct 3, 2024
1 parent
a3980ef
commit f52c256
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
tag=${1:-latest} | ||
image="alpine/used-for-docker-scout-score-check-only" | ||
image=${1:-latest} | ||
|
||
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 ${image}:${tag} -c "uname -m" | ||
docker run --rm -ti --platform "${platform}" --entrypoint=sh ${image} -c "uname -m" | ||
done |