appuio / container-oc

OpenShift client "oc" in a container image

Home Page:https://hub.docker.com/r/appuio/oc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.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
  • 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

https://hub.docker.com/r/appuio/oc/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dockerfile 85.2%Language:Shell 13.3%Language:Makefile 1.6%