adobe / aquarium-bait

Aquarium part to build stable and sturdy nested images
Other
3 stars 2 forks source link

Native image builder implementation #19

Closed sparshev closed 2 years ago

sparshev commented 2 years ago

The native image is just a tar archive which can be combined with the other archives when needed.

Description

Looks like this implementation is better than the first one and quite flexible btw. The archives are generated on the host machine (which is not great actually, because could mess with internal files - for sure it will be better to use some sort of chroot but need to unify for mac and lin).

The overall build system works as usual and needs build, pack & upload of the tar.xz archive. The naming quite similar to Docker and the image dir besides manifest & checksum file contains tar archive with files. Ansible executes locally on the host and I put a little optimization - if it runs locally download will not use tmp dir to store artifacts, but just will use files in playbooks directly.

Related Issue

resolves: #4

Motivation and Context

Just for fun!

How Has This Been Tested?

Manually, the images are built & looks well. Will check how they actually work in fish.

Types of changes

Checklist: