According to https://stackoverflow.com/a/39302427/12276541, this should show the progress bar:
RUN curl --progress-bar -sSL -o flutter_sdk.tar.xz ${FLUTTER_SDK_URL}
but it does not work on docker.
How to show curl progress bar on docker?
According to https://stackoverflow.com/a/39302427/12276541, this should show the progress bar:
RUN curl --progress-bar -sSL -o flutter_sdk.tar.xz ${FLUTTER_SDK_URL}
but it does not work on docker.
How to show curl progress bar on docker?
The DockerFile should contain the code needed to build the image environment.
In other words, if you use Curl with DockerFile, you don't need to display the progress bar, only when you need to load some data.
If the person being asked is a command that works when creating a container from an image and executing it, it should be rewritten as follows.
CMD ["curl", "--progress-bar", "-sSL", "-o flutter_sdk.tar.xz", "${FLUTTER_SDK_URL}"]
CURL must be installed to do this
--add---
You can work around this issue by changing to wget.
run wget ${FLUTTER_SDK_URL}