Skip to content

Commit

Permalink
modify docker entrypoint to map aarch64 to arm64-v8a
Browse files Browse the repository at this point in the history
  • Loading branch information
dreth committed Aug 9, 2024
1 parent 5151637 commit 2f16ebf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ mkdir -p /root/.config/Provision
# Detect the system architecture
ARCH=$(uname -m)

# in case of aarch64, map it to arm64-v8a
if [ "$ARCH" = "aarch64" ]; then
ARCH="arm64-v8a"
fi

# Map the architecture directly
ARCH_DIR="lib/${ARCH}"

Expand Down

0 comments on commit 2f16ebf

Please sign in to comment.