anchor.diff:  ENV CMAKE_VER $CMAKE_VER_MAJ$CMAKE_VER_MIN
   
   RUN wget https://cmake.org/files/v$CMAKE_VER_MAJ/cmake-$CMAKE_VER.tar.gz \
  -	&& tar xf cmake-$CMAKE_VER.tar.gz && cd cmake-$CMAKE_VER \
  -	&& ./bootstrap && make -j"$(nproc --all)" && make -j"$(nproc --all)" install \
  -	&& cd .. && rm -rf cmake-$CMAKE_VER && rm -f cmake-$CMAKE_VER.tar.gz
  +    && tar xf cmake-$CMAKE_VER.tar.gz && cd cmake-$CMAKE_VER \
  +    && ./bootstrap && make -j"$(nproc --all)" && make -j"$(nproc --all)" install \
  +    && cd .. && rm -rf cmake-$CMAKE_VER && rm -f cmake-$CMAKE_VER.tar.gz
   
   ENV CMAKE_ROOT /usr/local/share/cmake-$CMAKE_VER_MAJ
   
  
positive.code: ENV TEXLIVE_VERSION 2018
  
  RUN wget http://mirrors.rit.edu/CTAN/systems/texlive/Images/texlive$TEXLIVE_VERSION.iso \
  	&& wget http://mirrors.rit.edu/CTAN/systems/texlive/Images/texlive$TEXLIVE_VERSION.iso.md5 \
  	&& RESULT=$(md5sum -c texlive$TEXLIVE_VERSION.iso.md5) \
  	&& echo ${RESULT} > ~/check-texlive-md5.txt \
  	&& osirrox -indev ./texlive$TEXLIVE_VERSION.iso -extract / ./texlive_install \
  	&& rm -f texlive$TEXLIVE_VERSION.iso \
  	&& ./texlive_install/install-tl -profile ./texlive.profile \
  	&& rm -rf texlive_install
  
  # Uncomment lines below to update TeX Live to latest packages
  # Sets texlive update mirror
  
negative.code: RUN yum update -y && yum install -y epel-release && yum clean all
  
  RUN yum update -y && yum install -y \
      p7zip \
      p7zip-plugins \
      bison \
      bzip2 \
      bzip2-devel \
      cmake \
      curl-devel \
      cronie \
      czmq \
      expat-devel \
      file \
      flex \
      fontconfig-devel \
      gcc \
      gcc-c++ \
      gcc-gfortran \
      gdb \
      gettext-devel \
      glibc-devel \
      gperf \
      java-1.8.0-openjdk-devel \
      lynx \
      libaio \
      libattr-devel \
      libcurl \
      libcurl-devel \
      libedit-devel libffi-devel \
      libgcc \
      libstdc++-static \
      libtool \
      m4 \
      make \
      man \
      nano \
      nload \
      htop \
      openssl \
      openssl098e \
      openssl-devel \
      patch \
      perl-ExtUtils-MakeMaker \
      svn \
      unzip \
      valgrind \
      ruby \
      ruby-devel \
      sqlite \
      sqlite-devel \
      squashfs-tools \
      telnet \
      vim \
      wget \
      zeromq \
      zlib \
      zlib-devel \
      zip \
      && yum clean all
  
  ENV PATH /usr/local/sbin:/usr/local/bin:$PATH
  
  