Precompilation breaks Spin applications distributed in scratch
containers
#31
Labels
bug
Something isn't working
scratch
containers
#31
Building a branch of #16 and running with the default sample for distributing apps in
scratch
containers,ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:v0.10.0
:The precompilation support assumes the content that should be precompiled is its own layer, which is not the case with Spin applications distributed as (actual) container images.
This raises two options:
spin registry push
to run with this version of the shimIf we continue to support apps distributed in
scratch
containers, those will likely never support precompilation (or not without effort that I would argue is not necessary -- this is of course my opinion).The text was updated successfully, but these errors were encountered: