Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit a6a457e

Browse files
committed
Added rockylinux support
1 parent aa672f3 commit a6a457e

4 files changed

Lines changed: 24 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ This changelog was automatically generated using [Caretaker](https://github.com/
77

88
### [Unreleased](https://github.com/DockerToolbox/version-helper/compare/v0.1.2...HEAD)
99

10-
- Updated [`[head]`](https://github.com/DockerToolbox/version-helper/commit/)
10+
- Added rockylinux support [`[head]`](https://github.com/DockerToolbox/version-helper/commit/)
11+
12+
- Updated [`[aa672f3]`](https://github.com/DockerToolbox/version-helper/commit/aa672f3ef6a7a8fe3132bdf01fa0ae701a21f5b1)
1113

1214
- Updated [`[2236d7d]`](https://github.com/DockerToolbox/version-helper/commit/2236d7db7ae03ba2a74cfe9b60eae24933961991)
1315

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ It works by starting the required docker container and executing the [version gr
5252
| Debian | 9, 10, 11 & 12 (full & slim) | [Official Image](https://hub.docker.com/_/debian) |
5353
| Oracle Linux | 6, 7 & 8 (full & slim) | [Official Image](https://hub.docker.com/_/oraclelinux) |
5454
| Photon | 1.0, 2.0, 3.0 & 4.0 | [Official Image](https://hub.docker.com/_/photon) |
55+
| Rocky Linux | 8 | [Official Image](https://hub.docker.com/_/rockylinux) |
5556
| Scientific Linux | 7 | [Official Image](https://hub.docker.com/_/sl) |
5657
| Ubuntu | 14.04, 16.04, 18.04 & 20.04 | [Official Image](https://hub.docker.com/_/ubuntu) |
5758

@@ -115,7 +116,7 @@ APK_VIRTUAL_PACKAGE= # Alpine Virtual Packages (These are not version
115116
APT_PACKAGES= # Debian / Ubuntu Packages
116117
PACMAN_PACKAGES= # Arch Linux
117118
TDNF_PACKAGES= # Photon Packages
118-
YUM_PACKAGES= # Amazon Linux / Centos / Oracle Linux / Scientific Linux
119+
YUM_PACKAGES= # Amazon Linux / Centos / Oracle Linux / Rocky Linux / Scientific Linux
119120
YUM_GROUPS= # Yum Groups
120121
```
121122
> Oracle Linux 8 slim comes with `microdnf` instead of `yum` but we simply install yum using `microdnf` and then carry on as normal.
@@ -135,6 +136,8 @@ DEBIAN_PACKAGES= # Debian Packages
135136
ORACLE_PACKAGES= # Oracle Linux Packages
136137
ORACLE_GROUPS= # Oracle Groups
137138
PHOTON_PACKAGES= # Photon Linux Packages
139+
ROCKY_PACKAGES= # Rocky Linux Packages
140+
ROCKY_GROUPS= # Rocky Linux Groups
138141
SCIENTIFIC_PACKAGES= # Scientific Linux Packages
139142
SCIENTIFIC_GROUPS= # Scientific Linux Groups
140143
UBUNTU_PACKAGES= # Ubuntu Packages
@@ -261,6 +264,19 @@ tdnf install -y \
261264
&& \
262265
```
263266

267+
### Rocky Linux
268+
269+
```
270+
yum makecache && \
271+
yum install -y \
272+
bash-4.4.20 \
273+
curl-7.61.1 \
274+
git-2.27.0 \
275+
openssl-devel-1.1.1k \
276+
wget-1.19.5 \
277+
&& \
278+
```
279+
264280
### Scientific Linux
265281

266282
```

src/version-grabber.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,10 @@ function discover_by_operating_system
325325
photon)
326326
get_tdnf_versions "${PHOTON_PACKAGES:-}"
327327
;;
328+
# Photon (photon)
329+
rocky)
330+
get_yum_versions "${ROCKY_PACKAGES:-}" "${ROCKY_GROUPS:-}"
331+
;;
328332
# Scientific Linux (sl)
329333
scientific)
330334
get_yum_versions "${SCIENTIFIC_PACKAGES:-}" "${SCIENTIFIC_GROUPS:-}"

stale.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)