|
|
@ -1,7 +1,7 @@
|
|
|
|
# This file was generated using a Jinja2 template.
|
|
|
|
# This file was generated using a Jinja2 template.
|
|
|
|
# Please make your changes in `Dockerfile.j2` and then `make` the individual Dockerfiles.
|
|
|
|
# Please make your changes in `Dockerfile.j2` and then `make` the individual Dockerfiles.
|
|
|
|
|
|
|
|
|
|
|
|
{% set build_stage_base_image = "rust:1.54" %}
|
|
|
|
{% set build_stage_base_image = "rust:1.54-bullseye" %}
|
|
|
|
{% if "alpine" in target_file %}
|
|
|
|
{% if "alpine" in target_file %}
|
|
|
|
{% if "amd64" in target_file %}
|
|
|
|
{% if "amd64" in target_file %}
|
|
|
|
{% set build_stage_base_image = "clux/muslrust:nightly-2021-08-22" %}
|
|
|
|
{% set build_stage_base_image = "clux/muslrust:nightly-2021-08-22" %}
|
|
|
@ -13,19 +13,19 @@
|
|
|
|
{% set package_arch_target = "armv7-unknown-linux-musleabihf" %}
|
|
|
|
{% set package_arch_target = "armv7-unknown-linux-musleabihf" %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% elif "amd64" in target_file %}
|
|
|
|
{% elif "amd64" in target_file %}
|
|
|
|
{% set runtime_stage_base_image = "debian:buster-slim" %}
|
|
|
|
{% set runtime_stage_base_image = "debian:bullseye-slim" %}
|
|
|
|
{% elif "arm64" in target_file %}
|
|
|
|
{% elif "arm64" in target_file %}
|
|
|
|
{% set runtime_stage_base_image = "balenalib/aarch64-debian:buster" %}
|
|
|
|
{% set runtime_stage_base_image = "balenalib/aarch64-debian:bullseye" %}
|
|
|
|
{% set package_arch_name = "arm64" %}
|
|
|
|
{% set package_arch_name = "arm64" %}
|
|
|
|
{% set package_arch_target = "aarch64-unknown-linux-gnu" %}
|
|
|
|
{% set package_arch_target = "aarch64-unknown-linux-gnu" %}
|
|
|
|
{% set package_cross_compiler = "aarch64-linux-gnu" %}
|
|
|
|
{% set package_cross_compiler = "aarch64-linux-gnu" %}
|
|
|
|
{% elif "armv6" in target_file %}
|
|
|
|
{% elif "armv6" in target_file %}
|
|
|
|
{% set runtime_stage_base_image = "balenalib/rpi-debian:buster" %}
|
|
|
|
{% set runtime_stage_base_image = "balenalib/rpi-debian:bullseye" %}
|
|
|
|
{% set package_arch_name = "armel" %}
|
|
|
|
{% set package_arch_name = "armel" %}
|
|
|
|
{% set package_arch_target = "arm-unknown-linux-gnueabi" %}
|
|
|
|
{% set package_arch_target = "arm-unknown-linux-gnueabi" %}
|
|
|
|
{% set package_cross_compiler = "arm-linux-gnueabi" %}
|
|
|
|
{% set package_cross_compiler = "arm-linux-gnueabi" %}
|
|
|
|
{% elif "armv7" in target_file %}
|
|
|
|
{% elif "armv7" in target_file %}
|
|
|
|
{% set runtime_stage_base_image = "balenalib/armv7hf-debian:buster" %}
|
|
|
|
{% set runtime_stage_base_image = "balenalib/armv7hf-debian:bullseye" %}
|
|
|
|
{% set package_arch_name = "armhf" %}
|
|
|
|
{% set package_arch_name = "armhf" %}
|
|
|
|
{% set package_arch_target = "armv7-unknown-linux-gnueabihf" %}
|
|
|
|
{% set package_arch_target = "armv7-unknown-linux-gnueabihf" %}
|
|
|
|
{% set package_cross_compiler = "arm-linux-gnueabihf" %}
|
|
|
|
{% set package_cross_compiler = "arm-linux-gnueabihf" %}
|
|
|
|