Skip to content

Commit f6cb468

Browse files
alex-grujohndmulhausen
authored andcommitted
fix missing '-y' parameter (docker#2556)
Missing parameter leads to abort when installing software-properties-common
1 parent 9d66015 commit f6cb468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/examples/mongodb.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ a MongoDB repository file for the package manager.
6363
# Installation:
6464
# Import MongoDB public GPG key AND create a MongoDB list file
6565
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
66-
RUN apt-get install --no-install-recommends software-properties-common
66+
RUN apt-get install -y --no-install-recommends software-properties-common
6767
RUN echo "deb http://repo.mongodb.org/apt/ubuntu $(cat /etc/lsb-release | grep DISTRIB_CODENAME | cut -d= -f2)/mongodb-org/3.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.2.list
6868
```
6969

0 commit comments

Comments
 (0)