Skip to content

appuio/container-oc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

container-oc

dockeri.co

Build Status GitHub issues GitHub PRs License

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.

Container Images

The built images are available from Docker Hub and Red Hat Quay.io

  • docker.io/appuio/oc:v4.16
  • quay.io/appuio/oc:v4.16
  • docker.io/appuio/oc:v4.15
  • quay.io/appuio/oc:v4.15
  • docker.io/appuio/oc:v4.14
  • quay.io/appuio/oc:v4.14
  • docker.io/appuio/oc:v4.13
  • quay.io/appuio/oc:v4.13
  • docker.io/appuio/oc:v4.12
  • quay.io/appuio/oc:v4.12

Development

  • 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 make to regenerate Dockerfiles
  • run make images to 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.

Update OpenShift CLI Versions

To add or remove a version of oc, update the list of versions in the following places:

  • Makefile
  • README.md
  • .github/workflows/build.yml

And then run make.

APPUiO - GitHub @appuio - Twitter @appuio