2023-10-23 01:18:38 +03:00
|
|
|
---
|
2024-09-01 16:53:03 +03:00
|
|
|
vault_version: "v2024.6.2c"
|
|
|
|
vault_image_digest: "sha256:409ab328ca931439cb916b388a4bb784bd44220717aaf74cf71620c23e34fc2b"
|
|
|
|
# Cross Compile Docker Helper Scripts v1.5.0
|
2023-10-23 01:18:38 +03:00
|
|
|
# We use the linux/amd64 platform shell scripts since there is no difference between the different platform scripts
|
2024-09-01 16:53:03 +03:00
|
|
|
# https://github.com/tonistiigi/xx | https://hub.docker.com/r/tonistiigi/xx/tags
|
|
|
|
xx_image_digest: "sha256:1978e7a58a1777cb0ef0dde76bad60b7914b21da57cfa88047875e4f364297aa"
|
2024-10-18 21:34:31 +03:00
|
|
|
rust_version: 1.82.0 # Rust version to be used
|
2023-10-23 01:18:38 +03:00
|
|
|
debian_version: bookworm # Debian release name to be used
|
2024-05-25 16:19:53 +03:00
|
|
|
alpine_version: "3.20" # Alpine version to be used
|
2023-10-23 01:18:38 +03:00
|
|
|
# For which platforms/architectures will we try to build images
|
|
|
|
platforms: ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/arm/v6"]
|
|
|
|
# Determine the build images per OS/Arch
|
|
|
|
build_stage_image:
|
|
|
|
debian:
|
|
|
|
image: "docker.io/library/rust:{{rust_version}}-slim-{{debian_version}}"
|
|
|
|
platform: "$BUILDPLATFORM"
|
|
|
|
alpine:
|
|
|
|
image: "build_${TARGETARCH}${TARGETVARIANT}"
|
|
|
|
platform: "linux/amd64" # The Alpine build images only have linux/amd64 images
|
|
|
|
arch_image:
|
|
|
|
amd64: "ghcr.io/blackdex/rust-musl:x86_64-musl-stable-{{rust_version}}"
|
|
|
|
arm64: "ghcr.io/blackdex/rust-musl:aarch64-musl-stable-{{rust_version}}"
|
|
|
|
armv7: "ghcr.io/blackdex/rust-musl:armv7-musleabihf-stable-{{rust_version}}"
|
|
|
|
armv6: "ghcr.io/blackdex/rust-musl:arm-musleabi-stable-{{rust_version}}"
|
|
|
|
# The final image which will be used to distribute the container images
|
|
|
|
runtime_stage_image:
|
|
|
|
debian: "docker.io/library/debian:{{debian_version}}-slim"
|
|
|
|
alpine: "docker.io/library/alpine:{{alpine_version}}"
|