Skip to content

Commit

Permalink
Remove build instructions and use pre-built image from ghcr.io
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Hocutt <[email protected]>
  • Loading branch information
jaredhocutt committed Sep 14, 2023
1 parent c6df0e7 commit 57b0cfc
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions docs/bundle_content.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,6 @@ ssh-add ~/.ssh/ocp4-disconnected
ssh ec2-user@${JUMP_HOST_PUBLIC_IP}
```

### Build Container

Next we need to download the tool in this repository to download and bundle the
content.

> [!NOTE]
> At this point in development, we will need to clone the repository and
> build the container image. Once this tool is a bit more mature, there will be
> pre-built images that can be used.
```bash
git clone https://github.com/jaredhocutt/ocp4-disconnected.git

cd ocp4-disconnected/

podman build --layers --platform=linux/amd64 --tag ocp4-disconnected .
```

### Pull Secret

In order to pull the container images required to install OpenShift, you will
Expand Down Expand Up @@ -80,7 +62,7 @@ want a specific z-stream release, you can also specify the version as `x.y.z`
(e.g. `4.12.30`).

```bash
podman run -it --rm --name ocp4-disconnected --volume /mnt/ocp4_data:/mnt/data:z localhost/ocp4-disconnected
podman run -it --rm --name ocp4-disconnected --platform linux/amd64 --volume /mnt/ocp4_data:/mnt/data:z ghcr.io/jaredhocutt/ocp4-disconnected:latest
```

After the tool finishes, all of the content we need is in a single tar file at
Expand Down

0 comments on commit 57b0cfc

Please sign in to comment.