Installation
You have the following options to install the operator-builder CLI:
wget
Use wget to download the pre-compiled binaries:
| VERSION=v0.11.0
OS=Linux
ARCH=x86_64
wget https://github.com/nukleros/operator-builder/releases/download/${VERSION}/operator-builder_${VERSION}_${OS}_${ARCH}.tar.gz -O - |\
tar -xz && sudo mv operator-builder /usr/local/bin/operator-builder
|
Homebrew
Available for Mac and Linux.
Using Homebrew
| brew tap nukleros/tap
brew install nukleros/tap/operator-builder
|
Docker Image
| docker pull ghcr.io/nukleros/operator-builder
|
One-shot container use
| docker run --rm -v "${PWD}":/workdir ghcr.io/nukleros/operator-builder [flags]
|
Run container commands interactively
| docker run --rm -it -v "${PWD}":/workdir --entrypoint sh ghcr.io/nukleros/operator-builder
|
It can be useful to have a bash function to avoid typing the whole docker command:
| operator-builder() {
docker run --rm -i -v "${PWD}":/workdir ghcr.io/nukleros/operator-builder "$@"
}
|
Go Install
| go install github.com/nukleros/operator-builder/cmd/operator-builder@latest
|