Skip to content

Files

Latest commit

 

History

History
26 lines (17 loc) · 543 Bytes

DL3014.md

File metadata and controls

26 lines (17 loc) · 543 Bytes

Pattern: Missing -y for RUN apt-get

Issue: -

Description

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

Further Reading