Skip to content

Latest commit

 

History

History
76 lines (54 loc) · 1.95 KB

installation.md

File metadata and controls

76 lines (54 loc) · 1.95 KB

Installation

You have the following options to install the operator-builder CLI:

wget

Use wget to download the pre-compiled binaries:

VERSION=v0.7.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

Snap

NOTE: support for Snaps has been removed due to, what we feel, is increasingly unstable developer experience in publishing snaps. We can readdress this at such a time where stability to the project has returned. As of now, the latest available snap for operator-builder is v0.5.0.

Available for Linux only.

snap install operator-builder

NOTE: operator-builder installs with strict confinement in snap, this means it doesn't have direct access to root files.