Extending dockcross: run apt non-interactively

You need the `-y` (aka `--assume-yes`) flag when running apt in a script otherwise the thing hangs forever waiting for interactive confirmation for some larger downloads.
This commit is contained in:
Joshua Saxby 2022-11-29 20:30:29 +00:00 committed by Jonas Vautherin
parent 480014ee42
commit 08e2f6eec1

View File

@ -544,7 +544,7 @@ An example Dockerfile would be:
FROM dockcross/linux-armv7 FROM dockcross/linux-armv7
ENV DEFAULT_DOCKCROSS_IMAGE my_cool_image ENV DEFAULT_DOCKCROSS_IMAGE my_cool_image
RUN apt-get install nano RUN apt-get install -y nano
``` ```
And then in the shell: And then in the shell: