|
@@ -12,11 +12,10 @@ quick access to a test container.
|
|
#
|
|
#
|
|
# VERSION 0.0.1
|
|
# VERSION 0.0.1
|
|
|
|
|
|
- FROM ubuntu
|
|
|
|
|
|
+ FROM debian
|
|
MAINTAINER Thatcher R. Peskens "thatcher@dotcloud.com"
|
|
MAINTAINER Thatcher R. Peskens "thatcher@dotcloud.com"
|
|
|
|
|
|
# make sure the package repository is up to date
|
|
# make sure the package repository is up to date
|
|
- RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
|
|
|
|
RUN apt-get update
|
|
RUN apt-get update
|
|
|
|
|
|
RUN apt-get install -y openssh-server
|
|
RUN apt-get install -y openssh-server
|
|
@@ -24,7 +23,7 @@ quick access to a test container.
|
|
RUN echo 'root:screencast' |chpasswd
|
|
RUN echo 'root:screencast' |chpasswd
|
|
|
|
|
|
EXPOSE 22
|
|
EXPOSE 22
|
|
- CMD /usr/sbin/sshd -D
|
|
|
|
|
|
+ CMD ["/usr/sbin/sshd", "-D"]
|
|
|
|
|
|
Build the image using:
|
|
Build the image using:
|
|
|
|
|