resonai / ybt

Yet another Build Tool
Apache License 2.0
2 stars 2 forks source link

Allow CustomInstaller to run in a different image then the one it is being installed into #253

Open eyal-resonai opened 3 months ago

eyal-resonai commented 3 months ago

Today if one need a custom installer that compiles c++ for instance, it forces the build dependencies to be in the output image.

Since today Dockerfiles can have multiple FROM directive it should be possible to run the install script in one env and push the output to a different image.