Skip to content

Latest commit

 

History

History
63 lines (39 loc) · 1.91 KB

README.md

File metadata and controls

63 lines (39 loc) · 1.91 KB

Docker Repository on Quay

Tool Box 🧰

This container exists to help people that can't install ansible, git or other necessary tools locally. It is not to be used in any type of production setting and is not suppportable under an OpenShift subscription.

What's in the box? 👱‍♂

  • oc version stable-4.12
  • rosa version 1.2.15
  • ansible v2.14.5 (stable from pip)
  • python v3.9
  • git (latest stable)
  • zip (latest stable)
  • unzip (latest stable)
  • jq v1.6
  • yq v4.43.1
  • odo 3.9.9
  • helm Client v3.11.3
  • tkn Client v0.30.1
  • iputils (latest stable)
  • procps-ng (latest stable)
  • aws (latest stable)

If you need something not here, let us know in an issue or submit a PR.

Usage

OpenShift

Assuming you have the CLI installed

Build the container and deploy it in OpenShift:

$ oc run -i -t tool-box-test --image=quay.io/redhat-cop/tool-box --rm bash

Docker

Run the container in the background, then shell into. There are important things the container does at boot that you don't want to override. If you need sudo for docker:

$ sudo docker run -it redhat-cop/tool-box /bin/bash

If you don't need sudo:

$ docker run -it redhat-cop/tool-box /bin/bash

Building the Image

This image is available publicly at quay.io/redhat-cop/tool-box, so there's no need to build it yourself. If you need to build it for development reasons, here's how.

With Docker

Clone this repo:

$ git clone https://github.com/redhat-cop/containers-quickstarts

Build the container:

[containers-quickstarts/tool-box]$ docker build -t tool-box .

In OpenShift

oc new-build https://github.com/redhat-cop/containers-quickstarts --name=tool-box --context-dir=tool-box