Add socat to base image

We would need socat tool to perform healthchecks on the various containers.

Closes-Bug: #1749227
Change-Id: Ibda77a8d041d894f5efac6578e52b11651bca97f
This commit is contained in:
Martin Mágr 2018-02-12 22:29:26 +01:00
parent 9735112313
commit 293a1d9f8c
6 changed files with 8 additions and 15 deletions

View File

@ -218,6 +218,7 @@ RUN yum -y install \
'lvm2',
'python',
'scsi-target-utils',
'socat',
'sudo',
'which'
] %}
@ -234,6 +235,7 @@ RUN yum -y install \
'iscsi-initiator-utils',
'lvm2',
'scsi-target-utils',
'socat',
'sudo',
'tar',
'which'
@ -293,6 +295,7 @@ COPY apt_preferences.{{ base_distro }} /etc/apt/preferences
'netbase',
'open-iscsi',
'python',
'socat',
'sudo',
'tgt']
%}

View File

@ -12,8 +12,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% endif %}
{% set haproxy_packages = [
'haproxy',
'socat'
'haproxy'
] %}
{{ macros.install_packages(haproxy_packages | customizable("packages")) }}

View File

@ -27,7 +27,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'python-UcsSdk',
'qemu-img',
'shellinabox',
'socat',
'systemd-python',
'util-linux',
'xfsprogs',
@ -52,7 +51,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'python-systemd',
'qemu-utils',
'shellinabox',
'socat',
'xfsprogs',
] %}
{% endif %}
@ -68,7 +66,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'psmisc',
'qemu-img',
'shellinabox',
'socat',
'util-linux',
'xfsprogs',
] %}
@ -83,7 +80,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'psmisc',
'qemu-utils',
'shellinabox',
'socat',
'xfsprogs',
] %}
{% endif %}

View File

@ -8,13 +8,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set keepalived_packages = [
'hostname',
'keepalived',
'socat'
'keepalived'
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set keepalived_packages = [
'keepalived',
'socat'
'keepalived'
] %}
{% endif %}
{{ macros.install_packages(keepalived_packages | customizable("packages")) }}

View File

@ -17,14 +17,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'percona-xtrabackup',
'pv',
'rsync',
'socat',
'tar'
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set mariadb_packages = [
'expect',
'socat'
'expect'
] %}
{% if base_distro == 'debian' %}
{% set mariadb_packages = mariadb_packages + [

View File

@ -18,8 +18,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set rabbitmq_packages = [
'erlang-nox',
'logrotate',
'socat'
'logrotate'
] %}
{% if base_distro == 'debian' %}