1
0
Fork 0
mirror of https://github.com/imjasonh/krust synced 2026-07-11 16:10:00 +00:00
krust/tests/testdata/alpine_platforms.txt

23 lines
462 B
Text
Raw Normal View History

# 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'