Skip to content
Snippets Groups Projects
Commit 5ad7f281 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

don't set git config, as the home directory is not accessible here

parent 13851430
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,7 @@ RUN apt-get update && \
RUN echo "Defaults set_home" >> /etc/sudoers && \
echo 'Acquire::http::proxy "http://xfelproxy.desy.de:3128/";' > /etc/apt/apt.conf && \
echo 'http_proxy=http://xfelproxy.desy.de:3128' >> /etc/environment && \
echo 'https_proxy=https://xfelproxy.desy.de:3128' >> /etc/environment && \
sudo -H -u msk_jenkins git config --global http.proxy http://xfelproxy.desy.de:3128 && \
sudo -H -u msk_jenkins git config --global https.proxy http://xfelproxy.desy.de:3128
echo 'https_proxy=https://xfelproxy.desy.de:3128' >> /etc/environment
# NOTE: This last line (symlink for libzmq.so.3) is a hack for a bug in DOOCS serverlib, which has the version number hardcoded.
......
......@@ -22,9 +22,7 @@ RUN zypper refresh && \
useradd -u 30996 msk_jenkins && \
ln -sfn /usr/lib64/libzmq.so.5 /usr/lib64/libzmq.so.3
RUN echo "Defaults set_home" >> /etc/sudoers && \
sudo -H -u msk_jenkins git config --global http.proxy http://xfelproxy.desy.de:3128 && \
sudo -H -u msk_jenkins git config --global https.proxy http://xfelproxy.desy.de:3128
RUN echo "Defaults set_home" >> /etc/sudoers
# NOTE: This last line (symlink for libzmq.so.3) is a hack for a bug in DOOCS serverlib, which has the version number hardcoded.
......
......@@ -36,10 +36,8 @@ RUN apt-get update && \
RUN echo "Defaults set_home" >> /etc/sudoers && \
echo 'Acquire::http::proxy "http://xfelproxy.desy.de:3128/";' > /etc/apt/apt.conf && \
echo 'http_proxy=http://xfelproxy.desy.de:3128' >> /etc/environment && \
echo 'https_proxy=https://xfelproxy.desy.de:3128' >> /etc/environment && \
sudo -H -u msk_jenkins git config --global http.proxy http://xfelproxy.desy.de:3128 && \
sudo -H -u msk_jenkins git config --global https.proxy http://xfelproxy.desy.de:3128
echo 'https_proxy=https://xfelproxy.desy.de:3128' >> /etc/environment
# NOTE: This last line (symlink for libzmq.so.3) is a hack for a bug in DOOCS serverlib, which has the version number hardcoded.
ADD lcov-to-cobertura-xml /common/lcov_cobertura-1.6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment