Skip to content

Commit

Permalink
3
Browse files Browse the repository at this point in the history
  • Loading branch information
SalimTerryLi committed Dec 30, 2024
1 parent 16fad10 commit 856d4ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ RUN apt-get update && \
EOF

# It should output the result of "uname -m".
docker pull arm64v8/fedora
docker run --rm -t arm64v8/fedora uname -m
docker pull --platform linux/arm64 arm64v8/fedora
docker run --platform linux/arm64 --rm -t arm64v8/fedora uname -m
# It should install a package.
# TODO: Comment out as it takes a time.
# docker build --rm -t "test/latest/fedora" -<<EOF
Expand All @@ -53,7 +53,7 @@ docker run --rm -t arm64v8/fedora uname -m

# It should register binfmt_misc entry with 'flags: '
# by given no "-p yes" option.
docker run --rm --privileged ${DOCKER_REPO}:register --reset
docker run --platform linux/arm64 --rm --privileged ${DOCKER_REPO}:register --reset
cat /proc/sys/fs/binfmt_misc/qemu-aarch64
grep -q '^flags: $' /proc/sys/fs/binfmt_misc/qemu-aarch64

Expand Down

0 comments on commit 856d4ed

Please sign in to comment.