mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
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:
parent
480014ee42
commit
08e2f6eec1
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user