Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install lsb-release on Ubuntu 16/18 docker images #244

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/beaker-hostgenerator/hypervisor/docker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def generate_node(node_info, base_config, bhg_version)
when /1404/
['apt-transport-https']
when /1604/
['locales']
['locales', 'lsb-release']
else
['locales', 'iproute2', 'gnupg']
['locales', 'iproute2', 'gnupg', 'lsb-release']
end

docker_commands << "apt-get install -y net-tools wget #{extra_packages_to_install.join(' ')}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ expected_hash:
platform: ubuntu-20.04-amd64
docker_image_commands:
- cp /bin/true /sbin/agetty
- apt-get install -y net-tools wget locales iproute2 gnupg
- apt-get install -y net-tools wget locales iproute2 gnupg lsb-release
- locale-gen en_US.UTF-8
- echo LANG=en_US.UTF-8 > /etc/default/locale
hypervisor: docker
Expand Down