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 4.9.5ansible
v2.9 (stable frompip
)python
v3.6git
2.18.4zip
unzip
6.0-43jq
v1.6odo
1.2.1helm
Client v3.2.3tkn
Client v0.21.0
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