diff --git a/slc5-builder/Dockerfile b/slc5-builder/Dockerfile deleted file mode 100644 index b8e2ee0..0000000 --- a/slc5-builder/Dockerfile +++ /dev/null @@ -1,44 +0,0 @@ -# alisw/slc5-builder:v12 - -FROM centos:5 - -# Patch uname -COPY mock-uname-slc5.sh /bin/uname - -# Patch redhat-release -COPY mock-redhat-release-slc5.txt /etc/redhat-release - -# Operations: -# - Install RPMforge (needed for git) -# - Install some required packages -RUN \ - rpmdb --rebuilddb && \ - yum clean all && \ - yum install -y wget && \ - mkdir /tmp/rpmforge && cd /tmp/rpmforge && \ - rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt && \ - wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm && \ - yum install -y rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm && \ - cd / && rm -rf /tmp/rpmforge && \ - yum install -y subversion install autoconf automake libtool \ - zlib-devel libxml2-devel openssl-devel gcc-c++ gcc-gfortran \ - make libX11-devel libXpm-devel libXft-devel libXext-devel \ - mesa-libGLU-devel git curl bzip2 which file redhat-lsb bzip2-devel \ - python-devel gmp gmp-devel java-1.7.0-openjdk python-yaml \ - zip flex bison texinfo glibc-devel.i686 glibc-devel.x86_64 \ - libgcc.i686 libgcc.x86_64 ncurses-devel expat expat-devel curl-devel \ - python-setuptools python-hashlib tcl valgrind gdb vim-enhanced \ - libaio libaio-devel doxygen unzip libtermcap-devel && \ - wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm && \ - rpm -Uvh epel-release* && \ - yum install -y python26 && \ - ln -s /usr/bin/python2.6 /usr/local/bin/python && \ - curl https://bootstrap.pypa.io/get-pip.py | python && \ - pip install bernhard && \ - pip install pyyaml && \ - yum clean all && \ - easy_install argparse -RUN rpm --rebuilddb && yum install -y environment-modules -RUN rm -f /var/lib/rpm/Pubkeys && rpm --rebuilddb && yum install -y mysql-devel -ADD https://releases.hashicorp.com/vault/0.5.0/vault_0.5.0_linux_amd64.zip vault.zip -RUN unzip vault.zip && mv ./vault /usr/bin/vault diff --git a/slc5-builder/README.md b/slc5-builder/README.md deleted file mode 100644 index 9d55630..0000000 --- a/slc5-builder/README.md +++ /dev/null @@ -1,25 +0,0 @@ -SLC5 builder for ALICE software -=============================== - -This repository contains all the needed information to build and run a -SLC5-compatible Docker container for compiling ALICE software. - - -Content -------- - -* `Dockerfile`: definition of the Docker image -* `mock-uname-slc5.sh`: emulates the output of `uname` of a real SLC5 box -* `mock-redhat-release-slc5.txt`: tweaks the output of `lsb_release` to resemble - a real SLC5 box - - -Container features ------------------- - -Based on `centos:5`. Special features: - -* Build tools installed -* RPMforge (needed for Git) -* CMake v2.8 installed manually -* ccache enabled by default diff --git a/slc5-builder/mock-redhat-release-slc5.txt b/slc5-builder/mock-redhat-release-slc5.txt deleted file mode 100644 index f326b36..0000000 --- a/slc5-builder/mock-redhat-release-slc5.txt +++ /dev/null @@ -1 +0,0 @@ -Scientific Linux CERN SLC release 5.11 (Boron) diff --git a/slc5-builder/mock-uname-slc5.sh b/slc5-builder/mock-uname-slc5.sh deleted file mode 100755 index 004818a..0000000 --- a/slc5-builder/mock-uname-slc5.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -# -# Mock uname: emulate uname output of SLC5. -# - -opt_s='Linux' -opt_n=$(hostname) -opt_r='2.6.18-398.el5' -opt_v='#1 SMP Tue Sep 16 10:33:59 CEST 2014' -opt_m='x86_64' -opt_p='x86_64' -opt_i='x86_64' -opt_o='GNU/Linux' -opt_a="${opt_s} ${opt_n} ${opt_r} ${opt_v} ${opt_m} ${opt_p} ${opt_i} ${opt_o}" - -case "$1" in - -s) echo "$opt_s" ;; - -n) echo "$opt_n" ;; - -r) echo "$opt_r" ;; - -v) echo "$opt_v" ;; - -m) echo "$opt_m" ;; - -p) echo "$opt_p" ;; - -i) echo "$opt_i" ;; - -o) echo "$opt_o" ;; - -a) echo "$opt_a" ;; - '') echo "$opt_s" ;; - *) exit 1 ;; -esac - -exit 0 diff --git a/slc5ng-builder/install_additions.sh b/slc5ng-builder/install_additions.sh deleted file mode 100755 index d0f854b..0000000 --- a/slc5ng-builder/install_additions.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash -e -ALTPREFIX=${ALTPREFIX:-/opt/local} -TMPPREFIX=/tmp/alt -NJ=$(grep -c bogomips /proc/cpuinfo) - -mkdir -p $ALTPREFIX $TMPPREFIX - -export PATH=$ALTPREFIX/bin:$PATH -export LD_LIBRARY_PATH=$ALTPREFIX/lib64:$ALTPREFIX/lib:$LD_LIBRARY_PATH - -cd $TMPPREFIX - -wget --no-check-certificate https://www.openssl.org/source/openssl-1.0.2n.tar.gz -wget http://www.linuxfromscratch.org/patches/blfs/svn/openssl-1.0.2n-compat_versioned_symbols-1.patch -tar xzf openssl*.tar.gz -pushd openssl-1.0.2n - patch -Np1 -i ../openssl-1.0.2n-compat_versioned_symbols-1.patch - ./config --prefix=${ALTPREFIX} --openssldir=${ALTPREFIX}/etc/ssl --libdir=lib shared zlib-dynamic - make depend - make - make install -popd -hash -r - -wget --no-check-certificate https://curl.mirror.anstey.ca/curl-7.58.0.tar.gz -tar xzf curl*.tar.gz -pushd curl-7.58.0 - ./configure --with-ssl=${ALTPREFIX} --prefix=${ALTPREFIX} - make -j${NJ} - make install -popd -hash -r - -curl -LO https://www.kernel.org/pub/software/scm/git/git-1.9.5.tar.gz -tar xzf git*.tar.gz -pushd git-1.9.5 - ./configure --prefix=${ALTPREFIX} --with-openssl=${ALTPREFIX} --with-curl=${ALTPREFIX} - make -j${NJ} - make install -popd -hash -r - -curl -LO https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tgz -tar xzf Python*.tgz -pushd Python-2.7.14 - cat >> Modules/Setup.dist <