Tool/software:
Hi! I am building a docker container with code composer studio and sensor controller studio for CI/CD purposes. The objective is to build the project and create a .hex that I can upload to a Gitlab release. The first step of the prebuild process runs a sensor controller command (sensor_controller_studio_cli.exe -g {file} -s -q).
I first tried to do it with a linux image but even though all the tools were installed correctly and the project compiled, the .hex image was different from my usual windows counterpart, as it decided to place the code in a different order from what I could see in the .map. So it should work the same but it could be a problem if any bug appeared accessing a specific memory address, so I decided to build a windows container instead.
The problem with the windows container is that sensor controller comes in an .exe installer instead of the cli folder for Linux, so when I try to run the exe to install with "C:\temp\sensor_controller_setup.exe --mode unattended" or "powershell -Command "Start-Process -FilePath 'C:\temp\sensor_controller_setup.exe ' -ArgumentList '--mode unattended -Wait" it doesn't do anything. I'm guessing the instalattion needs a visual interface and cannot be installed through cmd/shell alone in a terminal of a contained. Doing "C:\temp\sensor_controller_setup.exe --help" doesn't return anything either.
I have no problem with installing code composer and it does everything else in the build process creating a correct .hex image, but the sensor controller part I just can't get working. I tried copying my actual windows Program Files (x86) Sensor controller folder into the container but I still get an error when running the program:
"C:/Program Files (x86)/Texas Instruments/Sensor Controller Studio/bin/sensor_controller_studio_cli.exe" -g "C:/firmware/MeteringClipOn/simple_peripheral_cc2640r2lp_app/Application/sce_diehl/GConta.scp" -s -q
makefile:222: recipe for target 'pre-build' failed
gmake[1]: [pre-build] Error -1073741701 (ignored)
I'm new to dockerization and using windows/linux without GUI so I might be skipping some easy solution, so any help is appreciated.