1
0
Fork 0
mirror of https://github.com/imjasonh/krust synced 2026-07-08 06:45:32 +00:00
krust/tests/testdata/alpine_platforms.txt
Jason Hall e47442d04d successfully pushed to GAR
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-10-15 11:58:05 -04:00

22 lines
462 B
Text

# Test Alpine base image platform detection
-- Cargo.toml --
[package]
name = "test-alpine"
version = "0.1.0"
edition = "2021"
[dependencies]
[package.metadata.krust]
base-image = "alpine:latest"
-- src/main.rs --
fn main() {
println!("Hello from Alpine!");
}
# Build with Alpine base - should detect many platforms
env RUST_LOG=info
exec ./krust build --no-push .
stderr 'Detecting available platforms from base image: alpine:latest'
stderr 'platforms'