Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appuio/container-oc
OpenShift client "oc" in a container image
https://github.com/appuio/container-oc
container container-image cri-o docker docker-image openshift openshift-origin vshn-project-apub
Last synced: 4 days ago
JSON representation
OpenShift client "oc" in a container image
- Host: GitHub
- URL: https://github.com/appuio/container-oc
- Owner: appuio
- License: bsd-3-clause
- Created: 2018-03-08T20:21:51.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-18T06:07:40.000Z (20 days ago)
- Last Synced: 2024-12-18T07:22:56.836Z (20 days ago)
- Topics: container, container-image, cri-o, docker, docker-image, openshift, openshift-origin, vshn-project-apub
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/appuio/oc/
- Size: 276 KB
- Stars: 6
- Watchers: 16
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# container-oc
[![dockeri.co](http://dockeri.co/image/appuio/oc)](https://hub.docker.com/r/appuio/oc/)
[![Build Status](https://img.shields.io/docker/cloud/build/appuio/oc.svg)](https://hub.docker.com/r/appuio/oc/builds
) [![GitHub issues](https://img.shields.io/github/issues-raw/appuio/container-oc.svg)](https://github.com/appuio/container-oc/issues
) [![GitHub PRs](https://img.shields.io/github/issues-pr-raw/appuio/container-oc.svg)](https://github.com/appuio/container-oc/pulls
) [![License](https://img.shields.io/github/license/appuio/container-oc.svg)](https://github.com/appuio/container-oc/blob/master/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][hub] and [Red Hat Quay.io][quay]
- `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=:`
(see [GitHub API rate limiting][api-limit]; create a token at https://github.com/settings/tokens)
- run `make` to regenerate Dockerfiles
- run `make images` to verify that images are building successfullyIf you see errors like `jq: error (at :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](https://appuio.ch) -
> GitHub [@appuio](https://github.com/appuio) -
> Twitter [@appuio](https://twitter.com/appuio)[hub]: https://hub.docker.com/r/appuio/oc/tags
[quay]: https://quay.io/repository/appuio/oc?tab=tags
[OpenShift]: https://github.com/openshift/origin
[api-limit]: https://developer.github.com/v3/#rate-limiting
[seiso]: https://github.com/appuio/seiso