Skip to content

Commit

Permalink
Merge pull request #384 from myii/feat/add-platforms-almalinux-and-ro…
Browse files Browse the repository at this point in the history
…ckylinux

feat(dockerfile_helper): add support for `almalinux` & `rockylinux`
  • Loading branch information
tas50 committed Jun 25, 2021
2 parents 66cedc4 + 9047f3d commit 525dfdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ suite container for Test Kitchen. Kitchen Docker currently supports:

* `arch`
* `debian` or `ubuntu`
* `amazonlinux`, `rhel`, `centos`, `fedora` or `oraclelinux`
* `amazonlinux`, `rhel`, `centos`, `fedora`, `oraclelinux`, `almalinux` or `rockylinux`
* `gentoo` or `gentoo-paludis`
* `opensuse/tumbleweed`, `opensuse/leap`, `opensuse` or `sles`
* `windows`
Expand Down
2 changes: 1 addition & 1 deletion lib/kitchen/docker/helpers/dockerfile_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def dockerfile_platform
gentoo_paludis_platform
when 'opensuse/tumbleweed', 'opensuse/leap', 'opensuse', 'sles'
opensuse_platform
when 'rhel', 'centos', 'oraclelinux', 'amazonlinux'
when 'rhel', 'centos', 'oraclelinux', 'amazonlinux', 'almalinux', 'rockylinux'
rhel_platform
else
raise ActionFailed, "Unknown platform '#{config[:platform]}'"
Expand Down

0 comments on commit 525dfdc

Please sign in to comment.