spring-cloud / baseimage

Apache License 2.0
12 stars 13 forks source link

Linting dockerfile #4

Closed gandrade closed 4 years ago

gandrade commented 5 years ago

Removing mkdir command in favor of WORKDIR dockerfile instruction and also adding pipefail option before invoke a RUN instruction using pipes

https://docs.docker.com/engine/reference/builder/#workdir https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#using-pipes

gandrade commented 4 years ago

Has someone had a chance to take a look at it?