summaryrefslogtreecommitdiff
path: root/docs/sources/examples/running_ssh_service.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sources/examples/running_ssh_service.md')
-rw-r--r--docs/sources/examples/running_ssh_service.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/sources/examples/running_ssh_service.md b/docs/sources/examples/running_ssh_service.md
index a8405e748e..7140678e3b 100644
--- a/docs/sources/examples/running_ssh_service.md
+++ b/docs/sources/examples/running_ssh_service.md
@@ -15,10 +15,7 @@ quick access to a test container.
FROM ubuntu:12.04
MAINTAINER Thatcher R. Peskens "thatcher@dotcloud.com"
- # make sure the package repository is up to date
- RUN apt-get update
-
- RUN apt-get install -y openssh-server
+ RUN apt-get update && apt-get install -y openssh-server
RUN mkdir /var/run/sshd
RUN echo 'root:screencast' |chpasswd