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: 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
  
  
negative.code: ENV SYMPHONY_VER 5.6
  
  RUN git clone --depth=1 --branch=stable/$SYMPHONY_VER https://github.com/coin-or/SYMPHONY SYMPHONY-$SYMPHONY_VER \
      && cd SYMPHONY-$SYMPHONY_VER \
      && git clone --depth=1 --branch=stable/0.8 https://github.com/coin-or-tools/BuildTools/ \
      && chmod u+x ./BuildTools/get.dependencies.sh \
      && ./BuildTools/get.dependencies.sh fetch --no-third-party \
      && ./configure \
      && make -j"$(nproc --all)" \
      && make -j"$(nproc --all)" install \
      && cd .. && rm -rf SYMPHONY-$SYMPHONY_VER
  
  # calysto-scheme Jupyter kernel
  RUN pip install --upgrade calysto-scheme \
      && python3 -m calysto_scheme install
  
  # bash Jupyter kernel
  RUN pip install bash_kernel \
      && python3 -m bash_kernel.install
  
  # pigz: http://zlib.net/pigz/
  ENV PIGZ_VER 2.4
  
  RUN wget http://zlib.net/pigz/pigz-$PIGZ_VER.tar.gz \
      && tar xf pigz-$PIGZ_VER.tar.gz \
      && cd pigz-$PIGZ_VER \
      && make -j"$(nproc --all)" \
      && cp pigz /usr/local/bin \
      && cp unpigz /usr/local/bin \
      && cd .. && rm -rf pigz-$PIGZ_VER && rm -f pigz-$PIGZ_VER.tar.gz
  
  # uchardet: https://www.freedesktop.org/wiki/Software/uchardet/
  RUN git clone --depth=1 https://anongit.freedesktop.org/git/uchardet/uchardet.git \
      && cd uchardet \
      && cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release \
      && make -j"$(nproc --all)" \
      && make install \
      && cd .. && rm -rf uchardet
  
  ENV JAVA_HOME /etc/alternatives/java_sdk
  
  # Redis (https://redis.io)
  RUN wget http://download.redis.io/redis-stable.tar.gz \
      && tar xf redis-stable.tar.gz \
      && cd redis-stable \
      && make -j"$(nproc --all)" \
      && make install \
      && cd .. && rm -rf redis-stable && rm -f redis-stable.tar.gz
  
  # MongoDB (https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/)
  ADD mongodb-org-4.0.repo /etc/yum.repos.d/mongodb-org-4.0.repo
  