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.
oc
version stable-4.12rosa
version 1.2.15ansible
v2.14.5 (stable frompip
)python
v3.9git
(latest stable)zip
(latest stable)unzip
(latest stable)jq
v1.6yq
v4.43.1odo
3.9.9helm
Client v3.11.3tkn
Client v0.30.1iputils
(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.
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
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
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.
Clone this repo:
$ git clone https://github.com/redhat-cop/containers-quickstarts
Build the container:
[containers-quickstarts/tool-box]$ docker build -t tool-box .
oc new-build https://github.com/redhat-cop/containers-quickstarts --name=tool-box --context-dir=tool-box