fluent / fluent-package-builder

td-agent (Fluentd) Building and Packaging System
Apache License 2.0
22 stars 25 forks source link

msi: use sdk: image for prerequisite #492

Closed kenhys closed 1 year ago

kenhys commented 1 year ago

wixtoolset: requrie .net 3.5 chocolatey: requrie .net 4.8

runtime:3.5 doesn't contain .net 4.8, and chocolatey try to install .net 4.8 during install process, as a result, it causes the following error:

 Please reboot the system and try to install/upgrade Chocolatey again.
At C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\chocoInstall\t ools\chocolateysetup.psm1:815 char:11
+           throw ".NET Framework 4.8 was installed, but a reboot is re ...
+           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (.NET Framework ...ocolatey ag
   ain.:String) [], RuntimeException
    + FullyQualifiedErrorId : .NET Framework 4.8 was installed, but a reboot i
   s required.
kenhys commented 1 year ago

still need to work a bit.

kenhys commented 1 year ago

sdk:3.5 is based on powershell. so current Dockerfile will not work as expected.

kenhys commented 1 year ago

This PR is required to pass CI of #475

ashie commented 1 year ago

Thanks!