Commit 7d96c702 authored by Olivier Le Monnier's avatar Olivier Le Monnier
Browse files

Exporter les variables proxy pour les commandes qui le requièrent

parent 24add947
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -32,6 +32,10 @@ echo "http_proxy = ${HTTP_PROXY}" >> /etc/wgetrc
echo "https_proxy = ${HTTP_PROXY}" >> /etc/wgetrc
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
export http_proxy=${HTTP_PROXY}
export https_proxy=${HTTP_PROXY}
export ftp_proxy=${HTTP_PROXY}
export no_proxy=unicaen.fr

# Installation des packages requis.
apt-get -qq update && \