commit 146525db9195f1be45aff8b7b0abfc0970392c8b
parent 1698b43f9bb6ea3f82db58e956f05dbbc002fe1b
Author: Robin Schneider <ypid@riseup.net>
Date: Tue, 31 Dec 2019 15:54:27 +0100
Improve Jinja2 template logic a bit
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/docker/Dockerfile.j2 b/docker/Dockerfile.j2
@@ -86,8 +86,7 @@ RUN rustup set profile minimal
{% if "alpine" in target_file %}
ENV USER "root"
-{% endif %}
-{% if "aarch64" in target_file or "armv" in target_file %}
+{% elif "aarch64" in target_file or "armv" in target_file %}
# Install required build libs for {{ package_arch_name }} architecture.
RUN sed 's/^deb/deb-src/' /etc/apt/sources.list > \
/etc/apt/sources.list.d/deb-src.list \