Fixes the issue where if a network error occurs, the docker build process will not be terminated properly. By default, pipeline (curl -sSL https://get.docker.com/ | sh) doesn't produce a failure return code when the last command (sh here) returns zero, even if curl returns non-zero exit status.
Fixes the issue where if a network error occurs, the docker build process will not be terminated properly. By default, pipeline (
curl -sSL https://get.docker.com/ | sh
) doesn't produce a failure return code when the last command (sh
here) returns zero, even ifcurl
returns non-zero exit status.