aboutsummaryrefslogtreecommitdiff
path: root/docker/prometheus/prometheus-base/Dockerfile.j2
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2019-01-09 16:42:17 +0100
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2019-02-19 11:24:45 +0000
commitab679adcbfaa251b2de00daa0acdbb7771a8ae04 (patch)
treececdc3f1e12d0cc73a1d69a0a69ad807005a0fdc /docker/prometheus/prometheus-base/Dockerfile.j2
parentdc20a3a0b6001185362e99e30531f2712cc6af57 (diff)
downloadkolla-ab679adcbfaa251b2de00daa0acdbb7771a8ae04.tar.gz
kolla-ab679adcbfaa251b2de00daa0acdbb7771a8ae04.zip
debian/ubuntu: introduce 'debian_arch' variable
Many images have 'if x86_64 then amd64 elif aarch64 then arm64' check to comply with Debian like architecture names in several projects. This patch creates 'debian_arch' variable which can be used in all Docker files (similar to 'base_arch' one). All required images got converted to use it. Change-Id: I9c5e6f13d6c9b24fe323408512bd5aef290111ad
Diffstat (limited to 'docker/prometheus/prometheus-base/Dockerfile.j2')
-rw-r--r--docker/prometheus/prometheus-base/Dockerfile.j28
1 files changed, 0 insertions, 8 deletions
diff --git a/docker/prometheus/prometheus-base/Dockerfile.j2 b/docker/prometheus/prometheus-base/Dockerfile.j2
index 93da38239..8bb86e227 100644
--- a/docker/prometheus/prometheus-base/Dockerfile.j2
+++ b/docker/prometheus/prometheus-base/Dockerfile.j2
@@ -7,14 +7,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.configure_user(name='prometheus') }}
-{% if base_arch == 'x86_64' %}
-ENV prometheus_arch=amd64
-{% elif base_arch == 'aarch64' %}
-ENV prometheus_arch=arm64
-{% else %}
-ENV prometheus_arch={{ base_arch }}
-{% endif %}
-
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start