mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix: update build scripts for mac (#7104)
This commit is contained in:
parent
f26e1fa21b
commit
ebc0a8c772
3 changed files with 21 additions and 10 deletions
|
@ -14,6 +14,10 @@ KOMPOSE_VERSION=$3
|
|||
if [[ ${PLATFORM} == "windows" ]]; then
|
||||
wget -O "dist/kompose.exe" "https://github.com/kubernetes/kompose/releases/download/${KOMPOSE_VERSION}/kompose-windows-amd64.exe"
|
||||
chmod +x "dist/kompose.exe"
|
||||
elif [[ ${PLATFORM} == "darwin" ]]; then
|
||||
# kompose 1.22 doesn't have arm support yet, we could merge darwin and linux scripts after upgrading kompose to >= 1.26.0
|
||||
wget -O "dist/kompose" "https://github.com/kubernetes/kompose/releases/download/${KOMPOSE_VERSION}/kompose-${PLATFORM}-amd64"
|
||||
chmod +x "dist/kompose"
|
||||
else
|
||||
wget -O "dist/kompose" "https://github.com/kubernetes/kompose/releases/download/${KOMPOSE_VERSION}/kompose-${PLATFORM}-${ARCH}"
|
||||
chmod +x "dist/kompose"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue