What does `SHELL` do?
AdvancedConceptDockerfile Instructions & Builds
Answer
It changes the default shell used for shell-form instructions (default ["/bin/sh","-c"]). A common use is enabling pipefail so a failing curl | tar breaks the build:
SHELL ["/bin/bash", "-o", "pipefail", "-c"]