This container exists to help folks that can't install ansible, git or other necessary tools. It is not to be used in any time of production setting and is not suppportable under an OpenShift subscription.
oc
version 3.11.0-0.32.0ansible
v2.8 (stable frompip
)python
v3.6git
unzip
jq
v1.6odo
helm
Client v3.1.1tkn
Client v0.3.1
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 tool-box /bin/bash
If you don't need sudo:
$ docker run -it 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