mirror of
https://github.com/docker/compose.git
synced 2025-07-31 01:24:15 +02:00
Add arm64 support to linux install script
Signed-off-by: Aaron Dewes <aaron.dewes@web.de>
This commit is contained in:
parent
80822bde44
commit
1bc0e3c831
@ -106,7 +106,11 @@ if ! [ "$(command -v curl)" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DOWNLOAD_URL=${DOWNLOAD_URL:-$(curl -s ${RELEASE_URL} | grep "browser_download_url.*docker-linux-amd64.tar.gz" | cut -d : -f 2,3)}
|
if [ "$(uname -m)" = "aarch64" ]; then
|
||||||
|
DOWNLOAD_URL=${DOWNLOAD_URL:-$(curl -s ${RELEASE_URL} | grep "browser_download_url.*docker-linux-arm64.tar.gz" | cut -d : -f 2,3)}
|
||||||
|
else
|
||||||
|
DOWNLOAD_URL=${DOWNLOAD_URL:-$(curl -s ${RELEASE_URL} | grep "browser_download_url.*docker-linux-amd64.tar.gz" | cut -d : -f 2,3)}
|
||||||
|
fi
|
||||||
|
|
||||||
# Check if the Compose CLI is already installed
|
# Check if the Compose CLI is already installed
|
||||||
if [ $(is_new_cli "docker") -eq 1 ]; then
|
if [ $(is_new_cli "docker") -eq 1 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user