mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 08:05:03 +00:00
* Fixes upstream deprecations for containerd * Fixes deprecations in ioutil package usage * Break out separate files for function handlers * Upgrades containerd to 1.7.22 * Fixes default namespace functionality * Pre-deploy checks as per license agreement * Removes extra log messages for payload in HTTP handlers, you can enable FAAS_DEBUG=1 in the CLI instead to see this from the client's perspective * Add additional Google DNS server 8.8.4.4 for functions Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
34 lines
613 B
Bash
34 lines
613 B
Bash
#!/bin/bash
|
|
|
|
# See pre-reqs:
|
|
# https://github.com/alexellis/containerd-arm
|
|
|
|
export ARCH="arm64"
|
|
|
|
if [ ! -d "/usr/local/go/bin" ]; then
|
|
curl -sLS https://get.arkade.dev | sudo sh
|
|
sudo -E arkade system install go
|
|
else
|
|
echo "Go already present, skipping."
|
|
fi
|
|
|
|
export GOPATH=$HOME/go/
|
|
export PATH=$PATH:/usr/local/go/bin/
|
|
|
|
go version
|
|
|
|
echo "Building containerd"
|
|
|
|
mkdir -p $GOPATH/src/github.com/containerd
|
|
cd $GOPATH/src/github.com/containerd
|
|
git clone https://github.com/containerd/containerd
|
|
|
|
cd containerd
|
|
git fetch origin --tags
|
|
git checkout v1.7.22
|
|
|
|
make
|
|
sudo make install
|
|
|
|
sudo containerd --version
|