anchor.diff:  RUN apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
   
   # update the repository
  -RUN apt-get update
  +RUN apt-get update -y
   
   # install ros packages
   ENV ROS_DISTRO indigo
  -RUN apt-get install -y ros-indigo-desktop-full=1.1.4-0*
  +RUN apt-get install -y -q --no-install-recommends ros-indigo-desktop-full=1.1.4-0*  python-rosinstall
   
   # rosdep init
   RUN rosdep init
   
  -# enables you to easily download many source trees for ROS packages with one command
  -RUN apt-get install -y python-rosinstall
   
   # install additional system packages and ros packages
   # update gazebo2.2 to gazebo2.2.5
  
positive.code: FROM ubuntu:trusty
  
  MAINTAINER Jack Liu jacknlliu@gmail.com
  
  # setup environment
  RUN locale-gen en_US.UTF-8
  
negative.code: USER ros
  
  # setup ros env
  RUN HOME=/home/ros rosdep update && \
  echo "export QT_X11_NO_MITSHM=1" >> /home/ros/.bashrc && \
  echo "export HOME=/home/ros" >> /home/ros/.bashrc && \
  echo "source "/opt/ros/$ROS_DISTRO/setup.bash"" >> /home/ros/.bashrc
  
  # configure Qt
  RUN mkdir -p /home/ros/.config/QtProject
  
  USER root
  COPY ./QtCreator.ini  /home/ros/.config/QtProject/
  RUN chown -R ros:ros  /home/ros/.config/QtProject/
  
  # config gazebo volume
  RUN mkdir -p /home/ros/.gazebo/models && chown -R ros:ros /home/ros/.gazebo
  
  # share this volume with other containers from this image
  VOLUME ["/home/ros/.gazebo/models"]
  
  USER ros
  
  CMD ["bash"]
  ENTRYPOINT ["/ros_entrypoint.sh"]
  