Skip to content

Commit

Permalink
Update docker-compile.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Grey authored Feb 13, 2025
1 parent 307fda4 commit dd81a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/scripts/docker-compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ if [ ${CURRENT_ARCHITECTURE} == "aarch64" ]; then
USER_ARCHITECTURE="arm/v6"
fi
fi
if [ $ARCHITECTURE != $USER_ARCHITECTURE ]; then
if [ $CURRENT_ARCHITECTURE != $USER_ARCHITECTURE ]; then
log "Identified user space current architecture: $USER_ARCHITECTURE"
CURRENT_ARCHITECTURE=$USER_ARCHITECTURE
fi
Expand All @@ -211,7 +211,7 @@ fi
log "Identified kernel current architecture: $CURRENT_ARCHITECTURE"
if [ $ARCHITECTURE != $CURRENT_ARCHITECTURE ]; then
echo "---> Build is not for the same architecturem, enable emulation for ${PLATFORM_ARCHITECTURE}"
ENTRYPOINT_OPTION=
ENTRYPOINT_OPTION="--entrypoint /usr/bin/qemu-static"

if [ $CURRENT_ARCHITECTURE != "amd64" ]; then
echo "---> Emulation builds can only be executed on linux/amd64, linux/x86_64 platforms, current architecture is ${CURRENT_ARCHITECTURE}"
Expand Down

0 comments on commit dd81a23

Please sign in to comment.