Skip to content

GriffinOSI/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.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
  • docker.io/appuio/oc:v4.11
  • quay.io/appuio/oc:v4.11

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

About

OpenShift client "oc" in a container image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 82.7%
  • Shell 15.5%
  • Makefile 1.8%