anchor.diff: -# ssh Dockerfile on Debian
  -
  -FROM debian:latest
  +FROM debian
   MAINTAINER Alexis Horgix Chotard <alexis.horgix.chotard@gmail.com>
   
   EXPOSE 22
  -RUN apt-get update && apt-get install --yes apt-utils sed
  +RUN apt-get update
  +RUN apt-get install --yes apt-utils sed dialog
   RUN sed -i 's/exit 101/exit 0/' /usr/sbin/policy-rc.d
   RUN apt-get install --yes \
     openssh-server  \
  
positive.code: # Remove message of the day for a cleaner login
    && rm /etc/motd
  
  # Services conf
  RUN echo "#! /bin/sh\n\
  service ssh start\n\
  sleep infinity" > /bin/startup.sh && chmod +x /bin/startup.sh
  
  CMD ["/bin/startup.sh"]
  
negative.code:   expect          \
    locales
  
  # Allow to ssh in the container simply using root/root
  RUN echo 'root:root' | chpasswd
  RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
  # SSH login fix. Otherwise user is kicked off after login
  RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
  RUN sed -i -e 's/^UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config
  ENV NOTVISIBLE "in users profile" && \ echo "export VISIBLE=now" >> /etc/profile
  # Generate SSH Keys
  RUN ssh-keygen -A
  # Set UTF8 locale
  RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen
  
  # Clone personnal configurations and "install" it
  RUN git clone https://bitbucket.org/Horgix/configs.git /root/.configs   \
    && cd /root/.configs && cp -r \
    .bash         \
    .bashrc       \
    .shell-config \
    .vim          \
    .vimrc        \
    .zsh          \
    .zshrc        \
    /root/
  
  # change prompt color to differenciate guest from host
  