Skip to content

Commit

Permalink
fix(dependencies): add needed packages for Redhat's family members
Browse files Browse the repository at this point in the history
  • Loading branch information
javierbertoli committed Feb 9, 2022
1 parent 949551b commit 652da44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docker/osmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ FreeBSD:
CentOS:
pkg:
deps:
- iptables
- procps
- yum-utils
docker:
Expand All @@ -20,6 +21,7 @@ CentOS:
CentOS Stream:
pkg:
deps:
- iptables
- python3-dnf-plugin-versionlock
- python3-docker
docker:
Expand All @@ -30,6 +32,7 @@ CentOS Stream:
AlmaLinux:
pkg:
deps:
- iptables
- python3-dnf-plugin-versionlock
- python3-docker
docker:
Expand All @@ -41,6 +44,7 @@ AlmaLinux:
Rocky:
pkg:
deps:
- iptables
- python3-dnf-plugin-versionlock
- python3-docker
docker:
Expand Down
6 changes: 4 additions & 2 deletions test/integration/package/controls/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
'fedora' => 'https://download.docker.com/linux/fedora/$releasever/$basearch/stable',
'opensuse' => 'https://download.docker.com/linux/sles/$releasever/$basearch/stable'
}
# rubocop:disable Layout/LineLength
os_name_repo_url.default = "https://download.docker.com/linux/centos/#{platform.release.to_i}/$basearch/stable"
# rubocop:enable Layout/LineLength
repo_url = os_name_repo_url[platform.name]
repo_file = os_name_repo_file[platform.name]

Expand All @@ -33,9 +35,9 @@

repo_keyring = '/usr/share/keyrings/docker-archive-keyring.gpg'
repo_file = '/etc/apt/sources.list.d/docker.list'
# rubocop:disable Metrics/LineLength
# rubocop:disable Layout/LineLength
repo_url = "deb [signed-by=#{repo_keyring} arch=amd64] https://download.docker.com/linux/#{platform.name} #{codename} stable"
# rubocop:enable Metrics/LineLength
# rubocop:enable Layout/LineLength
end

control 'Docker repository keyring' do
Expand Down

0 comments on commit 652da44

Please sign in to comment.