Re: Automated installer build using docker
Posted: Mon Apr 08, 2024 3:57 pm
Thanks. I got this working but there is a big issue with the size.
Even though the image creates successfully, and behaves as expected it is WAY too large for a typical CI/DI Pipeline (58.5 GB). The base Windows Server Core 2022 LTSC is only ~3 GB. The only other tools installed are Git and 7-zip, plus some small plugins. Everything else is (must be) Installaware.
Since a complete new image must be spun up many times a day in a modern CI/DI pipeline, this is not acceptable.
I'm using the web installer, which I delete afterwards, to minimize the impact of that. But there are many other dependencies that are apparently installed but we don't need. E.g., I see SQL server 2012 dependencies, things like that.
Need to get the size down to at most ~10 GB, preferably MUCH less. Windows containers are inherently larger than Linux, but ~60 GB...?
Please advize.
Even though the image creates successfully, and behaves as expected it is WAY too large for a typical CI/DI Pipeline (58.5 GB). The base Windows Server Core 2022 LTSC is only ~3 GB. The only other tools installed are Git and 7-zip, plus some small plugins. Everything else is (must be) Installaware.
Since a complete new image must be spun up many times a day in a modern CI/DI pipeline, this is not acceptable.
I'm using the web installer, which I delete afterwards, to minimize the impact of that. But there are many other dependencies that are apparently installed but we don't need. E.g., I see SQL server 2012 dependencies, things like that.
Need to get the size down to at most ~10 GB, preferably MUCH less. Windows containers are inherently larger than Linux, but ~60 GB...?
Please advize.