Open
Description
File: develop/develop-images/dockerfile_best-practices.md
Please consider clarifying whether the pipefail option set by "RUN set -o pipefail &&" carries over to subsequent RUN commands. In a bash script the pipefail setting would carry over to subsequent commands, but it's not clear to me whether it would in a Dockerfile. I would guess maybe the answer is no because no files are affected by the setting and so there's nothing in the resulting layer that preserves the setting.
By the same token, would it work just to "RUN set -o pipefail" once and have it carry over to subsequent RUN commands, or is that not possible.
Activity