coala / docker-coala-base

coala base docker image
21 stars 28 forks source link

Usage of pipe masks exit codes #179

Closed jayvdb closed 7 years ago

jayvdb commented 7 years ago

For the install of tailor, on openSUSE leap(https://github.com/coala/docker-coala-base/issues/144), an error can occur and the exit code is lost, and the build is not halted. It fails later due to the 100% coverage requirement, but that makes it harder to see the error.

RUN curl -fsSL https://tailor.sh/install.sh | sed 's/read -r CONTINUE < \/dev\/tty/CONTINUE=y/' > install.sh &&   time /bin/bash install.sh &&   find /tmp -mindepth 1 -prune -exec rm -rf '{}' '+'

 ---> Running in 9430e78f7307

curl: (35) error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

real    0m0.003s
user    0m0.000s
sys 0m0.000s

https://travis-ci.org/jayvdb/docker-coala-base/builds/236305678

jayvdb commented 7 years ago

Using -k --tlsv1 doesnt help.