sensu-client: use docker.io on Debian/Ubuntu
There is no need to use external Docker repo for an image which just needs Docker client. Change-Id: I61387287eb3d144ba1686d95b38f95c8292f5b0d
This commit is contained in:
parent
fb74313d7d
commit
bc55918367
@ -4,9 +4,6 @@ deb http://deb.debian.org/debian buster main
|
||||
# debian security updates
|
||||
deb http://security.debian.org/debian-security buster/updates main
|
||||
|
||||
# main docker repo
|
||||
deb https://download.docker.com/linux/debian buster stable
|
||||
|
||||
# Buster - Train repos
|
||||
deb http://buster-train.debian.net/debian buster-train-backports main
|
||||
deb http://buster-train.debian.net/debian buster-train-backports-nochange main
|
||||
|
@ -32,6 +32,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
{% set sensu_client_packages = [
|
||||
'build-essential',
|
||||
'ceph-common',
|
||||
'docker.io',
|
||||
'inetutils-ping',
|
||||
'libsasl2-dev',
|
||||
'mysql-client',
|
||||
@ -41,15 +42,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
'python3-rados',
|
||||
'python3-rbd'
|
||||
] %}
|
||||
{% if base_distro in ['debian'] %}
|
||||
{% set sensu_client_packages = sensu_client_packages + [
|
||||
'docker-ce'
|
||||
] %}
|
||||
{% else %}
|
||||
{% set sensu_client_packages = sensu_client_packages + [
|
||||
'docker.io'
|
||||
] %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
RUN echo '{{ image_name }} not yet available for {{ base_distro }}' \
|
||||
&& /bin/false
|
||||
|
Loading…
x
Reference in New Issue
Block a user