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

added proxy settings

parent f82ee196
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,12 @@ RUN apt-get update && \
useradd -u 30996 msk_jenkins && \
ln -sfn /usr/lib/x86_64-linux-gnu/libzmq.so.5 /usr/lib/x86_64-linux-gnu/libzmq.so.3
RUN echo "Defaults set_home" >> /etc/sudoers
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 -u msk_jenkins git config --global http.proxy http://xfelproxy.desy.de:3128 \
sudo -u msk_jenkins git config --global https.proxy http://xfelproxy.desy.de:3128 \
# 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,7 +22,12 @@ 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
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 -u msk_jenkins git config --global http.proxy http://xfelproxy.desy.de:3128 \
sudo -u msk_jenkins git config --global https.proxy http://xfelproxy.desy.de:3128 \
# NOTE: This last line (symlink for libzmq.so.3) is a hack for a bug in DOOCS serverlib, which has the version number hardcoded.
......
......@@ -33,7 +33,12 @@ RUN apt-get update && \
useradd -u 30996 msk_jenkins && \
ln -sfn /usr/lib/x86_64-linux-gnu/libzmq.so.5 /usr/lib/x86_64-linux-gnu/libzmq.so.3
RUN echo "Defaults set_home" >> /etc/sudoers
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 -u msk_jenkins git config --global http.proxy http://xfelproxy.desy.de:3128 \
sudo -u msk_jenkins git config --global https.proxy http://xfelproxy.desy.de:3128 \
# NOTE: This last line (symlink for libzmq.so.3) is a hack for a bug in DOOCS serverlib, which has the version number hardcoded.
......
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