Skip to content

Commit

Permalink
README: use apt-get --assume-yes in Dockerfile
Browse files Browse the repository at this point in the history
This little change makes it even easier for someone to create their own
Dockerfile: they simply copy an example and start listing the packages
they need. Without `--assume-yes`, `apt-get install` will try to
interactively ask for confirmation, and fail since `docker build` runs
it in a non-interactive environment.
  • Loading branch information
Minoru committed Apr 30, 2020
1 parent 5d717f0 commit f649184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ FROM rustembedded/cross:aarch64-unknown-linux-gnu-0.1.16

RUN dpkg --add-architecture arm64 && \
apt-get update && \
apt-get install libfoo:arm64
apt-get install --assume-yes libfoo:arm64
```

```
Expand Down

0 comments on commit f649184

Please sign in to comment.