Commit 1e7fb540 authored by Emanuele Usai's avatar Emanuele Usai
Browse files

compile updated packages

parent 500bb186
Pipeline #2069953 canceled with stage
......@@ -53,6 +53,10 @@ RUN wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/EGI
yum install -y HEP_OSlibs_SL5 ca-policy-lcg ca-policy-egi-core wlcg-repo.noarch wlcg-voms-cms && \
yum clean -y all
ADD git-test-inst /root/git-test-inst
ADD update_script.sh /root/update_script.sh
RUN chmod +x /root/update_script.sh && source /root/update_script.sh
RUN groupadd -g 1000 cmsusr && adduser -u 1000 -g 1000 -G root cmsusr && \
echo "cmsusr ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers && \
groupadd -g 1001 cmsinst && adduser -u 1001 -g 1001 cmsinst && \
......
yum -y install make
yum -y groupinstall 'Development Tools'
export INSTALL_DIR=${PWD}/git-test-inst
export GETTEXT_VERSION=gettext-0.20.1
export CURL_VERSION=curl-7.65.0
export OPENSSL_VERSION=openssl-1.1.1g
export M4_VERSION=m4-1.4.18
export AUTOCONF_VERSION=autoconf-2.69
export GIT_VERSION=git-2.21.0
export PERL_VERSION=perl-5.30.2
export LD_LIBRARY_PATH=${INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
export PATH=${INSTALL_DIR}/bin:${PATH}
cd ${INSTALL_DIR}
tar xzf ${GETTEXT_VERSION}.tar.gz
cd ${GETTEXT_VERSION}
./configure --prefix=${INSTALL_DIR}
make
make install
cd ..
tar -xzf ${PERL_VERSION}.tar.gz
cd ${PERL_VERSION}
./Configure -des
make
make install
cd ..
tar xzf ${OPENSSL_VERSION}.tar.gz
cd ${OPENSSL_VERSION}
CFLAGS=-fPIC ./config --prefix=${INSTALL_DIR} shared zlib
make
make install
cd ..
tar xzf ${CURL_VERSION}.tar.gz
cd ${CURL_VERSION}
./configure --with-ssl=${INSTALL_DIR} --prefix=${INSTALL_DIR}
make
make install
#ldd ${INSTALL_DIR}/lib/libcurl.so.4.5.0
cd ..
tar xzf ${M4_VERSION}.tar.gz
cd ${M4_VERSION}
./configure --prefix=${INSTALL_DIR}
make -j16
make install
cd ..
tar xzf ${AUTOCONF_VERSION}.tar.gz
cd ${AUTOCONF_VERSION}
./configure --prefix=${INSTALL_DIR}
make -j16
make install
cd ..
tar xzf ${GIT_VERSION}.tar.gz
cd ${GIT_VERSION}
make configure
./configure --prefix=${INSTALL_DIR} --with-openssl=${INSTALL_DIR} --with-curl=${INSTALL_DIR}
make -j16
make install -i
#ldd ${INSTALL_DIR}/libexec/git-core/git-remote-https
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment