Pattern: Missing -y
for RUN apt-get
Issue: -
Without the --assume-yes
option it might be possible that the build breaks without human intervention.
Example of incorrect code:
FROM debian
RUN apt-get install python=2.7
Example of correct code:
FROM debian
RUN apt-get install -y python=2.7