Do not use “-y” for package install

According to "code conventions" [1], do not use "-y" option.
Instead, use apt-get install package, yum install package,
or zypper install package.

[1] https://docs.openstack.org/doc-contrib-guide/writing-style/
code-conventions.html

Change-Id: I174c8a0c653e322bbf951d72445b1a43251baa7e
This commit is contained in:
Vu Cong Tuan 2017-11-08 14:40:54 +07:00
parent 4179cfd036
commit 1b4c5dfc8b
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ Here is single Dockerfile snippet you can use to run your Docker container:
MAINTAINER David TARDIVEL <david.tardivel@b-com.com>
RUN apt-get update
RUN apt-get dist-upgrade -y
RUN apt-get dist-upgrade
RUN apt-get install vim net-tools
RUN apt-get install experimental watcher-api