Closed gandrade closed 4 years ago
Removing mkdir command in favor of WORKDIR dockerfile instruction and also adding pipefail option before invoke a RUN instruction using pipes
mkdir
WORKDIR
RUN
https://docs.docker.com/engine/reference/builder/#workdir https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#using-pipes
Has someone had a chance to take a look at it?
Removing
mkdir
command in favor ofWORKDIR
dockerfile instruction and also adding pipefail option before invoke aRUN
instruction using pipeshttps://docs.docker.com/engine/reference/builder/#workdir https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#using-pipes