Skip to content

Commit

Permalink
Update prepare_vroot.sh
Browse files Browse the repository at this point in the history
docker image for arm64 (M1) is on Docker Hub
  • Loading branch information
mmikuc committed Sep 15, 2022
1 parent fd572f5 commit 9bff93c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/prepare_vroot.sh
Expand Up @@ -9,7 +9,13 @@ OS=`uname -s`

if [ "$OS" = "Linux" ]
then
docker pull $DOCKER_TEMPLATE
if [ `uname -m` = "aarch64" ]
then
docker pull ${DOCKER_TEMPLATE}:arm64
docker tag ${DOCKER_TEMPLATE}:arm64 ${DOCKER_TEMPLATE}:latest
else
docker pull $DOCKER_TEMPLATE
fi
else
sh $ROOTDIR/$LIBDIR/scripts/prepare_vroot_$VER\.sh $*
fi

0 comments on commit 9bff93c

Please sign in to comment.