Merge "Fixing crond crashing with centos/source"
This commit is contained in:
commit
6ffab8e65f
@ -2,21 +2,19 @@ FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|||||||
MAINTAINER {{ maintainer }}
|
MAINTAINER {{ maintainer }}
|
||||||
{% import "macros.j2" as macros with context %}
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
{% if install_type == 'binary' %}
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
{% set cron_packages = [
|
||||||
{% set cron_packages = [
|
'cronie',
|
||||||
'cronie',
|
'logrotate'
|
||||||
'logrotate'
|
] %}
|
||||||
] %}
|
{% elif base_distro in ['ubuntu', 'debian'] %}
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% set cron_packages = [
|
||||||
{% set cron_packages = [
|
'cron',
|
||||||
'cron',
|
'logrotate'
|
||||||
'logrotate'
|
] %}
|
||||||
] %}
|
{% endif %}
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
RUN {{ macros.install_packages(cron_packages | customizable("packages")) }}
|
RUN {{ macros.install_packages(cron_packages | customizable("packages")) }}
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
||||||
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
||||||
|
Loading…
x
Reference in New Issue
Block a user