20 lines
884 B
Plaintext
20 lines
884 B
Plaintext
# Pre-install proxy configuration values
|
|
#
|
|
# This uses the linux-ftp.ostc.intel.com as a mirror.
|
|
RUN { \
|
|
for suite in ${OS_RELEASE} ${OS_RELEASE}-updates ${OS_RELEASE}-security ${OS_RELEASE}-backports; do \
|
|
for component in main restricted universe multiverse; do \
|
|
echo "deb http://linux-ftp.ostc.intel.com/pub/mirrors/${OS_DISTRO} ${suite} ${component}" ; \
|
|
done \
|
|
done \
|
|
} > /etc/apt/sources.list
|
|
|
|
RUN { \
|
|
echo "Acquire::http::proxy \"http://proxy-chain.intel.com:911/\";\n" ; \
|
|
echo "Acquire::https::proxy \"http://proxy-chain.intel.com:912/\";\n" ; \
|
|
echo "Acquire::ftp::proxy \"ftp://proxy-chain.intel.com:911/\";\n" ; \
|
|
echo "Acquire::socks::proxy \"socks://proxy-chain.intel.com:1080/\";\n" ; \
|
|
echo "Acquire::http::Proxy::linux-ftp.ostc.intel.com DIRECT;\n" ; \
|
|
echo "Acquire::http::Proxy::osgc.jf.intel.com DIRECT;\n" ; \
|
|
} > /etc/apt/apt.conf
|