faas/setup.sh

12 lines
174 B
Bash
Executable File

#!/bin/sh -x
set -e
apt update
apt upgrade -y
apt install -y git
apt clean -y
rm -rf faasd
git clone https://github.com/openfaas/faasd --depth 1
cd faasd
./hack/install.sh