Skip to main content
pcb
Associate II
April 9, 2024
Question

Download CubeCLT with wget

  • April 9, 2024
  • 2 replies
  • 2037 views

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.

2 replies

pcb
pcbAuthor
Associate II
April 9, 2024

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?

Rob.Riggs
Senior
July 17, 2024

Try adding this to your Containerfile before installing the package.

ENV LICENSE_ALREADY_ACCEPTED=1

 

mars3142
Visitor II
March 13, 2025

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