mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-10 00:46:47 +00:00
Add arm64 support
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
parent
666d6c4871
commit
1da2763a96
@ -78,8 +78,11 @@ install_containerd() {
|
|||||||
x86_64 | amd64)
|
x86_64 | amd64)
|
||||||
curl -sLSf https://github.com/containerd/containerd/releases/download/v1.3.7/containerd-1.3.7-linux-amd64.tar.gz | $SUDO tar -xvz --strip-components=1 -C /usr/local/bin/
|
curl -sLSf https://github.com/containerd/containerd/releases/download/v1.3.7/containerd-1.3.7-linux-amd64.tar.gz | $SUDO tar -xvz --strip-components=1 -C /usr/local/bin/
|
||||||
;;
|
;;
|
||||||
arm*)
|
armv7l)
|
||||||
curl -sSL https://github.com/alexellis/containerd-armhf/releases/download/v1.3.5/containerd-1.3.5-linux-armhf.tar.gz | $SUDO tar -xvz --strip-components=1 -C /usr/local/bin/
|
curl -sSL https://github.com/alexellis/containerd-arm/releases/download/v1.3.5/containerd-1.3.5-linux-armhf.tar.gz | $SUDO tar -xvz --strip-components=1 -C /usr/local/bin/
|
||||||
|
;;
|
||||||
|
aarch64)
|
||||||
|
curl -sSL https://github.com/alexellis/containerd-arm/releases/download/v1.3.5/containerd-1.3.5-linux-arm64.tar.gz | $SUDO tar -xvz --strip-components=1 -C /usr/local/bin/
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
fatal "Unsupported architecture $arch"
|
fatal "Unsupported architecture $arch"
|
||||||
@ -100,7 +103,10 @@ install_faasd() {
|
|||||||
x86_64 | amd64)
|
x86_64 | amd64)
|
||||||
suffix=""
|
suffix=""
|
||||||
;;
|
;;
|
||||||
arm*)
|
aarch64)
|
||||||
|
suffix=-arm64
|
||||||
|
;;
|
||||||
|
armv7l)
|
||||||
suffix=-armhf
|
suffix=-armhf
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@ -132,4 +138,4 @@ echo "net.ipv4.conf.all.forwarding=1" | $SUDO tee -a /etc/sysctl.conf
|
|||||||
|
|
||||||
install_cni_plugins
|
install_cni_plugins
|
||||||
install_containerd
|
install_containerd
|
||||||
install_faasd
|
install_faasd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user