2 DL3014
Lukas Martinelli edited this page 2016-01-11 15:42:53 +01:00

Use the -y switch.

Problematic code:

FROM debian
RUN apt-get install python=2.7

Correct code:

FROM debian
RUN apt-get install -y python=2.7

Rationale:

Without the --assume-yes option it might be possible that the build breaks without human intervention.