anchor.diff:  FROM phusion/baseimage:0.9.12
   
   MAINTAINER Meillaud Jean-Christophe (jc.meillaud@gmail.com)
  -
  -CMD ["/sbin/my_init"]
   
   RUN apt-get update
   RUN apt-get install -q -y git-core
  
positive.code: # Add private key in order to get access to private repo
  ADD ./config/id_rsa /root/.ssh/id_rsa
  
  
  
  # Launching Jira
  WORKDIR /opt/jira-home
  RUN rm -f /opt/jira-home/.jira-home.lock
  EXPOSE 8080
  CMD ["/opt/jira/bin/start-jira.sh", "-fg"]
  
negative.code: # Install Jira
  ADD install-jira.sh /root/
  RUN /root/install-jira.sh
  
  ## Install SSH for a specific user (thanks to public key)
  ADD ./config/id_rsa.pub /tmp/your_key
  RUN cat /tmp/your_key >> /root/.ssh/authorized_keys && rm -f /tmp/your_key
  