Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install from existing package(s) #83

Open
ab77 opened this issue Jan 11, 2022 · 0 comments
Open

Install from existing package(s) #83

ab77 opened this issue Jan 11, 2022 · 0 comments

Comments

@ab77
Copy link
Contributor

ab77 commented Jan 11, 2022

Install CLI binary from pre-built package, rather than building the Docker images on every run:
https://github.com/balena-io/balena-cli/blob/master/INSTALL-LINUX.md

For example:

      BALENA_CLI_URL: https://github.com/balena-io/balena-cli/releases/download
      BALENA_CLI_VERSION: 13.1.7

      release_zip="balena-cli-v${BALENA_CLI_VERSION}-linux-x64-standalone.zip"

      wget -q "${BALENA_CLI_URL}/v${BALENA_CLI_VERSION}/${release_zip}"

      unzip -q "${release_zip}"

      PATH="$(pwd)/balena-cli:${PATH}"

      balena version

Perhaps the savings offered by alpine image are outweighed by using ubutu-slim + balena-cli package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant