anchor.diff:   && apt-get clean \
    && :
   
  +# setup localtime
  +RUN ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
   
  -RUN : \
  - && useradd shun \
  - && usermod -aG sudo -s /bin/zsh shun \
  - && echo '%sudo	ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/sudo-nopasswd \
  - && mkdir -p /home/shun/.ssh \
  - && mkdir -p /home/shun/bin \
  - && touch /home/shun/.ssh/authorized_keys \
  - && chown shun:shun -R /home/shun \
  - && chmod 700 /home/shun/.ssh \
  - && chmod 600 /home/shun/.ssh/authorized_keys \
  - && :
  -
  -
  +# docker
   RUN : \
    && set -x \
    && apt-get install -y \
         apt-transport-https \
         ca-certificates \
  + && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
  + && sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $LSB_RELEASE stable"
  + && apt-get update \
  + && apt-get install -y \
  +      docker-ce \
    && apt-get clean \
    && :
   
  -RUN : \
  - && apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D \
  - && echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list \
  - && apt-get update \
  - && apt-get install -y \
  -      docker-engine \
  - && apt-get clean \
  - && :
  -
  -
  +# install nvim
   RUN : \
    && set -x \
    && apt-get install -y \
  
positive.code: FROM ubuntu:16.04
  MAINTAINER shun
  
  RUN : \
   && set -x \
   && apt-get update \
  
negative.code:  && apt-get install neovim \
   && :
  
  COPY docker-entrypoint.sh /usr/local/bin
  COPY labo-setup /home/shun/bin
  
  USER shun
  RUN /home/shun/bin/labo-setup
  
  USER root
  
  ENTRYPOINT ["docker-entrypoint.sh"]
  CMD ["/usr/sbin/sshd","-D"]
  