Skip to content
Lukas Martinelli edited this page Jan 11, 2016 · 2 revisions

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.