anchor.diff:  F90FLAGS='' \
   F77FLAGS='' ; \
   # Build and install
  -make -j $(grep -c ^processor /proc/cpuinfo) ; \
  +make -j ${MOOSE_JOBS} ; \
   make install ; \
   # Cleanup
   cd ../../ ; rm -rf mpich-3.3*
   
   #-----------------------------------------------------------------------------#
  -# Set environment variables for MOOSE deps
  +# Set environment variables for MOOSE and deps
   #-----------------------------------------------------------------------------#
   ENV CC=mpicc \
   CXX=mpicxx \
  
positive.code: FROM ubuntu
  
  WORKDIR /opt
  
  #-----------------------------------------------------------------------------#
  # Install aptitutde packages and clear cache
  
negative.code: LIBMESH_DIR=/usr/local \
  MOOSE_DIR=/opt/moose
  
  WORKDIR ${MOOSE_DIR}
  
  #-----------------------------------------------------------------------------#
  # Install PETSc to system path
  #-----------------------------------------------------------------------------#
  ARG PETSC_REV
  COPY scripts/update_and_rebuild_petsc.sh ${MOOSE_DIR}/scripts/update_and_rebuild_petsc.sh
  RUN git clone https://bitbucket.org/petsc/petsc ; \
  git -C petsc checkout ${PETSC_REV} ; \
  ./scripts/update_and_rebuild_petsc.sh ; \
  rm -rf petsc/* petsc/.* || true
  
  #-----------------------------------------------------------------------------#
  # Install Libmesh to system path
  #-----------------------------------------------------------------------------#
  ARG LIBMESH_REV
  COPY scripts/update_and_rebuild_libmesh.sh ${MOOSE_DIR}/scripts/update_and_rebuild_libmesh.sh
  RUN git clone https://github.com/libMesh/libmesh.git ; \
  git -C libmesh checkout ${LIBMESH_REV} ; \
  git -C libmesh submodule update --init ; \
  ./scripts/update_and_rebuild_libmesh.sh ; \
  rm -rf libmesh/* libmesh/.* || true
  
  #-----------------------------------------------------------------------------#
  # Copy and build MOOSE framework and tests
  #-----------------------------------------------------------------------------#
  COPY . ${MOOSE_DIR}
  RUN cd test ; make -j ${MOOSE_JOBS}