We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02bb2b7 + 0ef7023 commit 07750e3Copy full SHA for 07750e3
docker/placement/placement-base/Dockerfile.j2
@@ -25,8 +25,14 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
25
] %}
26
{% endif %}
27
28
+ {% if base_distro in ['debian'] %}
29
+ {% set mysql_migrate_path = '/usr/share/placement-common/mysql-migrate-db.sh' %}
30
+ {% else %}
31
+ {% set mysql_migrate_path = '/usr/share/placement/mysql-migrate-db.sh' %}
32
+ {% endif %}
33
+
34
{{ macros.install_packages(placement_base_packages | customizable("packages")) }} \
- && cp /usr/share/placement/mysql-migrate-db.sh /opt/ \
35
+ && cp {{ mysql_migrate_path }} /opt/ \
36
&& chmod 755 /opt/mysql-migrate-db.sh
37
38
{% elif install_type == 'source' %}
0 commit comments