Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
Signed-off-by: John Cudd <[email protected]>
  • Loading branch information
jmcudd committed Aug 14, 2024
1 parent 7914df4 commit f096272
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
19 changes: 16 additions & 3 deletions docs/content/docs/getting-started/install-porter.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ curl -L https://cdn.porter.sh/$VERSION/install-mac.sh | bash
```

**Linux**

```bash
export VERSION="v1.1.0"
```bash export VERSION="v1.1.0"
curl -L https://cdn.porter.sh/$VERSION/install-linux.sh | bash
```

Expand Down Expand Up @@ -113,6 +111,21 @@ You will need to create a [PowerShell Profile][ps-link] if you do not have one.
```
iwr "https://cdn.porter.sh/latest/install-windows.ps1" -UseBasicParsing | iex
```
## Air-gapped Install

To run the installation script in an air-gapped environment, create an air-gapped installation package with the `bundle-linux.sh` script.

```
curl -L https://raw.githubusercontent.com/getporter/porter/main/scripts/bundle/bundle-linux.sh | bash
```

Then extract and install Porter.

```
echo "tar -xzf porter-air-gapped-install-latest.tar.gz -C ."
echo "cd porter-air-gapped-install-latest"
echo "bash install-linux.sh"
```

## Canary

Expand Down
2 changes: 1 addition & 1 deletion scripts/bundle/bundle-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PORTER_VERSION=${PORTER_VERSION:-latest}

MONGO_IMAGE_FILE="mongo_image.tar"
MONGO_IMAGE_URL="docker.io/library/mongo:4.0-xenial"
BUNDLE_NAME="porter-offline-install-$PORTER_VERSION"
BUNDLE_NAME="porter-air-gapped-install-$PORTER_VERSION"
DOWNLOAD_DIR="/tmp/$BUNDLE_NAME"

mkdir -p $DOWNLOAD_DIR
Expand Down

0 comments on commit f096272

Please sign in to comment.