v0.2.7 🦚 [peacock]
The fall version 🍁
- The FaaS components are externalized; now, this project is only for the Capsule Runner
- "Scratch" Docker image (18.5M) to easily use and deploy the Capsule Runner (https://github.com/bots-garden/capsule-docker-image)
- cabu (or capsule-builder) (https://github.com/bots-garden/capsule-function-builder): a CLI using a specific Docker image allowing:
- the creation of a wasm function project (from templates)
- the build of the wasm function without installing anything (TinyGo and Golang compilers are embedded in the image) (https://github.com/bots-garden/capsule-function-builder)
The Docker image of Capsule will follow the same versioning.
Install Capsule
CAPSULE_VERSION="v0.2.7"
wget -O - https://raw.githubusercontent.com/bots-garden/capsule/${CAPSULE_VERSION}/install-capsule-launcher.sh| bash
The script will install Capsule in
$HOME/.local/bin
🖐 On macOS:
- create the
$HOME/.local/bin
directory - add it to your path:
export CAPSULE_PATH="$HOME/.local" export PATH="$CAPSULE_PATH/bin:$PATH"
if you want to install Capsule somewhere else, override the
CAPSULE_PATH
variable (default value:CAPSULE_PATH="$HOME/.local/bin"
)
Install Capsule Builder (cabu)
CAPSULE_BUILDER_VERSION="v0.0.1"
wget -O - https://raw.githubusercontent.com/bots-garden/capsule-function-builder/${CAPSULE_BUILDER_VERSION}/install-capsule-builder.sh | bash