anchor.diff:  # Setup PX4 SITL
   RUN usermod -a -G dialout root
   RUN wget https://raw.githubusercontent.com/PX4/Devguide/master/build_scripts/ubuntu_sim_ros_gazebo.sh
  -RUN sed -i 's/sudo//g' ubuntu_sim_ros_gazebo.sh
  -RUN yes | source ubuntu_sim_ros_gazebo.sh
  +RUN /bin/bash -c ". /opt/ros/kinetic/setup.bash && \
  +    yes | source ubuntu_sim_ros_gazebo.sh"
   
   # Build catkin workspace
  -RUN cd /root/catkin_ws
  -RUN catkin_make
  +WORKDIR /root/catkin_ws
  +RUN /bin/bash -c ". /opt/ros/kinetic/setup.bash && \
  +    rm -rf devel build && \
  +    catkin_make_isolate"
  +RUN echo "source /root/catkin_ws/devel/setup.bash" >> /root/.bashrc
  
positive.code: FROM ros:kinetic
  
  # Change shell to bash
  SHELL ["/bin/bash", "-c"]
  
  MAINTAINER Takaki Ueno
  
  # Change environment related to ROS
  ENV ROS_PACKAGE_PATH=/root/catkin_ws/src:/opt/ros/kinetic/share
  
negative.code: # Update repos and install some packages
  RUN apt-get update && \
      apt-get upgrade -y && \
      apt-get install -y --no-install-recommends apt-utils
      
  RUN apt-get install -y \
      git \
      python-catkin-tools \
      ros-kinetic-desktop-full \
      ros-kinetic-mavros \
      ros-kinetic-laser-assembler \
      software-properties-common \
      sudo \
      unzip \
      vim \ 
      wget
     
  # Overwrite bashrc
  RUN echo "source /opt/ros/kinetic/setup.bash" >> /root/.bashrc
  
  # Source bashrc and setup.bash
  RUN /bin/bash -c "source /opt/ros/kinetic/setup.bash"
  RUN /bin/bash -c "source /root/.bashrc"
  
  # Create catkin workspace
  RUN mkdir -p /root/catkin_ws/src
  