OpenShift client oc in a container image.
A container image that can be used in CI/CD pipelines to deploy apps to OpenShift.
Also ships the binaries for helm, kustomize, kubeval, sops, yq and Python3, for your convenience.
The built images are available from Docker Hub and Red Hat Quay.io
docker.io/appuio/oc:v4.19quay.io/appuio/oc:v4.19docker.io/appuio/oc:v4.18quay.io/appuio/oc:v4.18docker.io/appuio/oc:v4.17quay.io/appuio/oc:v4.17docker.io/appuio/oc:v4.16quay.io/appuio/oc:v4.16docker.io/appuio/oc:v4.15quay.io/appuio/oc:v4.15docker.io/appuio/oc:v4.14quay.io/appuio/oc:v4.14docker.io/appuio/oc:v4.13quay.io/appuio/oc:v4.13docker.io/appuio/oc:v4.12quay.io/appuio/oc:v4.12
- only hack files in
src/ - run
export GITHUB_API_USER=<your-github-user-name>:<your-revocable-personal-access-token>(see GitHub API rate limiting; create a token at https://github.com/settings/tokens) - run
maketo regenerate Dockerfiles - run
make imagesto verify that images are building successfully
If you see errors like jq: error (at <stdin>:4): Cannot index string with string "prerelease" check your credentials or see if the GitHub API calls return a valid response.
To add or remove a version of oc, update the list of versions in the following places:
MakefileREADME.md.github/workflows/build.yml
And then run make.