2024-04-09 06:09 AM
Hi,
I am trying to build a Docker container for development with STM32F4.
After signing in and accepting the License Agreement my download starts
from: https://www.st.com/content/ccc/[...].sh.zip
However, I am not able to use wget on the same link. It's stuck at "HTTP request sent, awaiting response..."
Is there a way to programmatically / CLI download the CubeCLT? Otherwise, I am at a loss of how I can write my Dockerfile.
2024-04-09 07:04 AM
To be able to continue working I manually transferred the ZIP to the container (though I wanted to get it with wget) and when I installed it I got a pop-up "STMCubeIDE - License Agreement" (see attachment).
Since this will be part of a Dockerfile, it must be completely headless, i.e., no GUI or user input.
Is this possible?
2024-07-17 03:37 PM
Try adding this to your Containerfile before installing the package.
ENV LICENSE_ALREADY_ACCEPTED=1