Closed jakkn closed 3 months ago
It took me a while to realize this was the easiest way to build an image of the preview build for debugging. It's a little hidden so I can write a note about it in the README or somewhere else if you think it should be documented better.
Wait, now that I read closer I see the resulting image will not necessarily have the run-deps installed that are defined in base.Dockerfile
. My local test worked because I only used plugin Events and Object. So it works for simple cases, which is nice, but it may be confusing :thinking:
Edit: amended by introducing Scripts/buildimages.sh
To make building docker images from other branches, like preview, a little easier.
Example usage:
Defaults are left untouched so this change should not break anything.
Edit 29.03.24:
Scripts/buildimages.sh
has been added to make building images easier. Example output (before it runs the docker build commands):Example of the resulting images running the script on branches
master
andbuild8193.37