An open API service indexing awesome lists of open source software.

https://github.com/redhat-developer-demos/tutorial-tools

The tools used in Red Hat Developers workshop
https://github.com/redhat-developer-demos/tutorial-tools

cekit developers redhat tools tutorials

Last synced: 7 months ago
JSON representation

The tools used in Red Hat Developers workshop

Awesome Lists containing this project

README

        

# Tutorial Tools

The repository that holds various linux container images used as part of [Red Hat Developers](https://developers.redhat.com) workshops.

## Pre-req

- All the images are built using [cekit](https://cekit.readthedocs.io/en/latest/getting-started/index.html),check the [installation guide](https://cekit.readthedocs.io/en/latest/handbook/installation/index.html) on how to install.
- Any container runtime like [podman](https://podman.io) or [buildah](https://buildah.io) or [Docker](https://www.docker.com/products/container-runtime)

> **NOTE**: The scripts by default uses docker.

## Images

The tool builds three linux container images

1. [tutorial-tools](https://quay.io/repository/rhdevelopers/tutorial-tools?tab=tags) - This image holds all the tools that are used as part of the Red Hat Developers tutorials e.g. kubectl, oc, stern, yq, jq etc.,

2. [clients](https://quay.io/repository/rhdevelopers/clients?tab=tags) - This image holds the clients that are used in typical Cloud Native Application development such as kubectl, oc(openshift client),yq,jq,kn,tkn,stern etc.,

3. [container-tools](https://quay.io/repository/rhdevelopers/container-toolsa?tab=tags) - This image is used for advanced use cases where you want to build containers within containers using tools like buildah etc.,

## Build and Push Images

To build all the images listed above:

```bash
make clean build-all -e BUILD_ENGINE=${BUILD_ENGINE}
```

To build only *tutorial-tools*

```bash
cekit -v build --overrides-file tutorial-tools-overrides.yaml -e BUILD_ENGINE=${BUILD_ENGINE} --no-squash
```

To build only *clients*

```bash
cekit -v build --overrides-file only-clients-overrides.yaml -e BUILD_ENGINE=${BUILD_ENGINE} --no-squash
```

To build only *container-tools*

```bash
cekit -v build --overrides-file container-tools-overrides.yaml -e BUILD_ENGINE=${BUILD_ENGINE} --no-squash
```

Where `BUILD_ENGINE` could be any one `buildah`, `podman` or `docker`

To push the images to the container registry

```shell
make push
```

It is also possible to push individual images using the same technique as build