plushu / plushu-build-cedarish

Plugin that builds apps in a Cedar-ish environment
MIT License
0 stars 0 forks source link

Building using OverlayFS and systemd-nspawn #6

Open stuartpb opened 9 years ago

stuartpb commented 9 years ago

Also affects release and local deployment.

So, per the discussion in https://github.com/plushu/plushu-apps/issues/12#issuecomment-69482581, it would be a massive improvement if the app lifecycle could be reworked to just use a couple ephemeral layers without tracking or versioning (with slug creation on demand).

It seems like OverlayFS would be a good fit for this: http://askubuntu.com/questions/109413/how-do-i-use-overlayfs (and following from http://www.phoronix.com/scan.php?page=news_item&px=CoreOS-Btrfs-To-EXT4-OverlayFS)

Things that would be better with this:

Things that would need to be reworked:

My thoughts:

stuartpb commented 9 years ago

see also plushu/plushu-buildstep#1 (another possible approach, using Docker and overlayfs for a volume)