Skip to content

Commit

Permalink
Update README's accordingly
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
  • Loading branch information
phracek committed Jul 2, 2024
1 parent 6c413f4 commit dd224ed
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
5 changes: 2 additions & 3 deletions 6/root/usr/share/container-scripts/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Redis 6 in-memory data structure store container image
This container image includes Redis 6 in-memory data structure store for OpenShift and general usage.
Users can choose between RHEL, CentOS and Fedora based images.
The RHEL images are available in the [Red Hat Container Catalog](https://access.redhat.com/containers/),
the CentOS images are available on [Quay.io](https://quay.io/organization/centos7),
the CentOS Stream images are available on [Quay.io](https://quay.io/organization/sclorg),
and the Fedora images are available in [Fedora Registry](https://quay.io/organization/fedora).
The resulting image can be run using [podman](https://github.com/containers/libpod).

Expand Down Expand Up @@ -84,6 +84,5 @@ See also
Dockerfile and other sources for this container image are available on
https://github.com/sclorg/redis-container.
In that repository you also can find another versions of Python environment Dockerfiles.
Dockerfile for CentOS is called `Dockerfile`, Dockerfile for RHEL7 is called `Dockerfile.rhel7`,
for RHEL8 it's `Dockerfile.rhel8`, for RHEL9 it's `Dockerfile.rhel9`,
Dockerfile for RHEL8 it's `Dockerfile.rhel8`, for RHEL9 it's `Dockerfile.rhel9`,
for CentOS Stream 9 it's `Dockerfile.c9s` and the Fedora Dockerfile is called Dockerfile.fedora.
6 changes: 3 additions & 3 deletions 7/root/usr/share/container-scripts/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ Redis 7 in-memory data structure store container image
======================================================

This container image includes Redis 7 in-memory data structure store for OpenShift and general usage.
Users can choose between RHEL, CentOS and Fedora based images.
Users can choose between RHEL, CentOS Stream, and Fedora based images.
The RHEL images are available in the [Red Hat Container Catalog](https://access.redhat.com/containers/),
the CentOS Stream images are available on [Quay.io](https://quay.io/organization/sclorg),
and the Fedora images are available in [Fedora Registry](https://quay.io/organization/fedora).
The resulting image can be run using [podman](https://github.com/containers/libpod).

Expand Down Expand Up @@ -83,6 +84,5 @@ See also
Dockerfile and other sources for this container image are available on
https://github.com/sclorg/redis-container.
In that repository you also can find another versions of Python environment Dockerfiles.
Dockerfile for CentOS is called `Dockerfile`, Dockerfile for RHEL7 is called `Dockerfile.rhel7`,
for RHEL8 it's `Dockerfile.rhel8`, for RHEL9 it's `Dockerfile.rhel9`,
Dockerfile for RHEL8 it's `Dockerfile.rhel8`, for RHEL9 it's `Dockerfile.rhel9`,
for CentOS Stream 9 it's `Dockerfile.c9s` and the Fedora Dockerfile is called Dockerfile.fedora.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Redis version currently provided are:
* [redis-7](7)

RHEL versions currently supported are:
* RHEL7
* RHEL8
* RHEL9

Expand All @@ -37,11 +36,11 @@ Installation
To build a Redis image, choose either the CentOS or RHEL based image:
* **RHEL based image**

These images are available in the [Red Hat Container Catalog](https://access.redhat.com/containers/#/registry.access.redhat.com/rhscl/redis-6-rhel7).
These images are available in the [Red Hat Container Catalog](https://access.redhat.com/containers/#/registry.access.redhat.com/rhel8/redis-6).
To download it run:

```
$ podman pull registry.access.redhat.com/rhscl/redis-6-rhel7
$ podman pull registry.access.redhat.com/rhel8/redis-6
```
To build a RHEL based Redis image, you need to run the build on a properly
Expand All @@ -51,7 +50,7 @@ To build a Redis image, choose either the CentOS or RHEL based image:
$ git clone --recursive https://github.com/sclorg/redis-container.git
$ cd redis-container
$ git submodule update --init
$ make build TARGET=rhel7 VERSIONS=6
$ make build TARGET=rhel8 VERSIONS=6
```
* **CentOS Stream based image**
Expand Down Expand Up @@ -83,19 +82,22 @@ Usage
For information about usage of Dockerfile for Redis 6,
see [usage documentation](6).
For information about usage of Dockerfile for Redis 7,
see [usage documentation](7).
Test
----
Users can choose between testing a Redis test application based on a RHEL or CentOS image.
* **RHEL based image**
To test a RHEL7 based Redis image, you need to run the test on a properly
To test a RHEL8 based Redis image, you need to run the test on a properly
subscribed RHEL machine.
```
$ cd redis-container
$ git submodule update --init
$ make test TARGET=rhel7 VERSIONS=6
$ make test TARGET=rhel8 VERSIONS=6
```
* **CentOS Stream based image**
Expand Down

0 comments on commit dd224ed

Please sign in to comment.