forked from LaconicNetwork/kompose
docs: update installation doc (#1575)
Some of the installation methods are either unmaintained / not up to date anymore. For example, we no longer package `.deb` packages. The person using Kompose should be installing the binary directly from GitHub rather than relying on their package manager. Signed-off-by: Charlie Drage <charlie@charliedrage.com>
This commit is contained in:
parent
9ab4ef3a9c
commit
055856076a
@ -12,11 +12,11 @@ redirect_from:
|
||||
- TOC
|
||||
{:toc}
|
||||
|
||||
We have multiple ways to install Kompose. Our preferred method is downloading the binary from the latest GitHub release.
|
||||
We have multiple ways to install Kompose. Our preferred (and most up-to-date) method is downloading the binary from the latest GitHub release.
|
||||
|
||||
## GitHub release
|
||||
|
||||
Kompose is released via GitHub on a three-week cycle, you can see all current releases on the [GitHub release page](https://github.com/kubernetes/kompose/releases).
|
||||
Kompose is released via GitHub, you can see all current releases on the [GitHub release page](https://github.com/kubernetes/kompose/releases).
|
||||
|
||||
**Linux and macOS:**
|
||||
|
||||
@ -62,24 +62,12 @@ Kompose is in Fedora 24, 25 and 26 repositories. You can install it just like an
|
||||
sudo dnf -y install kompose
|
||||
```
|
||||
|
||||
## Ubuntu/Debian
|
||||
|
||||
A deb package is released for compose. Download the latest package in the assets in [GitHub releases](https://github.com/kubernetes/kompose/releases).
|
||||
|
||||
```bash
|
||||
wget https://github.com/kubernetes/kompose/releases/download/v1.28.0/kompose_1.28.0_amd64.deb # Replace 1.28.0 with latest tag
|
||||
sudo apt install ./kompose_1.28.0_amd64.deb
|
||||
```
|
||||
|
||||
## macOS
|
||||
|
||||
On macOS, you can install the latest release via [Homebrew](https://brew.sh) or [MacPorts](https://www.macports.org/).
|
||||
```bash
|
||||
# Homebrew
|
||||
brew install kompose
|
||||
|
||||
# MacPorts
|
||||
port install kompose
|
||||
```bash
|
||||
brew install kompose
|
||||
```
|
||||
|
||||
## Windows
|
||||
@ -90,28 +78,6 @@ Kompose can be installed via [Chocolatey](https://chocolatey.org/packages/kubern
|
||||
choco install kubernetes-kompose
|
||||
```
|
||||
|
||||
## openSUSE/SLE
|
||||
|
||||
Kompose is available in the official repositories of openSUSE Tumbleweed and in openSUSE Leap starting with 15.2. On SUSE Linux Enterprise Server 15 SP2 - and following - you can install kompose from [PackageHub](https://packagehub.suse.com/). Please refer to the SUSE documentation on how to activate [PackageHub](https://packagehub.suse.com/) on your SUSE Linux Enterprise distribution.
|
||||
|
||||
```bash
|
||||
sudo zypper install kompose
|
||||
```
|
||||
|
||||
## NixOS
|
||||
|
||||
To install from [Nixpkgs](https://github.com/NixOS/nixpkgs), use [nix-env](https://nixos.org/manual/nix/stable/command-ref/nix-env.html).
|
||||
|
||||
```bash
|
||||
nix-env --install -A nixpkgs.kompose
|
||||
```
|
||||
|
||||
To run `kompose` without installing it, use [nix-shell](https://nixos.org/manual/nix/stable/command-ref/nix-shell.html).
|
||||
|
||||
```bash
|
||||
nix-shell -p kompose --run "kompose convert"
|
||||
```
|
||||
|
||||
## Docker
|
||||
|
||||
You can build an image from the official repo for [Docker](https://docs.docker.com/engine/reference/commandline/build/) or [Podman](https://docs.podman.io/en/latest/markdown/podman-build.1.html):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user