[squeak-dev] [ANN] Squeaker: Like Docker, but for Squeak. You know, for kids.

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Thu Nov 18 09:47:35 UTC 2021

Nice idea! One could call it a bit pity that you had to write this in Python rather than in Squeak itself, but it is the result tthat counts. :-)

Next up: Squeaker Hub, squeaker-compose, and integrated CI support for Squeaker images? :D



Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Tony Garnock-Jones <tonyg at leastfixedpoint.com>
Gesendet: Donnerstag, 18. November 2021 09:42:23
An: The general-purpose Squeak developers list
Betreff: [squeak-dev] [ANN] Squeaker: Like Docker, but for Squeak. You know, for kids.

I found myself in need of a way to script the production of clean images
customised by some sequence of Smalltalk commands. ("Cattle, not pets.")



 From the README (https://github.com/tonyg/squeaker#readme):

It's a small program that helps in automated derivation of configured
Smalltalk images from some fixed base image and a collection of
Smalltalk commands. It's about 500 lines of Python, so far.

  - Squeakerfile.st is like Dockerfile, except it contains locations to
fetch images from plus Smalltalk expressions to derive new images.

  - squeaker build is like docker build. It manages a cache (in
$XDG_CACHE_HOME/squeaker, usually $HOME/.cache/squeaker on Unix) of
downloaded artifacts, derived images, and the stages in each derivation.

  - squeaker run is like docker run. It starts a previously-downloaded
or -derived image in a temporary directory. (Future: support persistent
image instances, like docker does! Easy enough.)

  - squeaker gc is like docker system prune, roughly. It cleans out the
Squeaker cache directory, treating tags as GC roots.

Please try it out and let me know what you think!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211118/5781ebe4/attachment.html>

More information about the Squeak-dev mailing list