vito / bass

a low fidelity scripting language for project infrastructure
https://bass-lang.org
MIT License
378 stars 13 forks source link

add `(export)`: returns a virtual OCI tarball file #273

Closed vito closed 1 year ago

vito commented 1 year ago

Gels nicely with (write) for writing an image tarball to disk:

(def thunk
  (from (linux/alpine)
    ($ echo "Hello, world!")))

(write (export thunk) *dir*/image.tar)