Skip to main content
pcb
Associate II
Apr 9, 2024 1:09 PM UTC
Question

Download CubeCLT with wget

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.

This topic has been closed for replies.

3 replies

pcb
pcbAuthor
Associate II
Apr 9, 2024 2:04 PM UTC

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?

Joachim SpangeHead in the embedded
Rob.Riggs
Senior
Jul 17, 2024 10:37 PM UTC

Try adding this to your Containerfile before installing the package.

ENV LICENSE_ALREADY_ACCEPTED=1

 

mars3142
Visitor II
Mar 13, 2025 3:11 PM UTC

Did you fine any working solution for this issue? I would also like to use it for my CI pipeline.