Commit 44b3f5ad authored by Oliver Lippert's avatar Oliver Lippert

ftp.fau.de

parent 9c0539d0
Pipeline #1803 passed with stage
in 14 minutes and 5 seconds
......@@ -5,7 +5,9 @@ MAINTAINER Oliver Lippert
# Insert this line before "RUN apt-get update" to dynamically
# replace httpredir.debian.org with a single working domain
# in attempt to "prevent" the "Error reading from server" error.
RUN sed -i "s/httpredir.debian.org/`curl -s -D - http://httpredir.debian.org/demo/debian/ | awk '/^Link:/ { print $2 }' | sed -e 's@<http://\(.*\)/debian/>;@\1@g'`/" /etc/apt/sources.list
RUN sed -i "s/httpredir.debian.org/ftp.fau.de/" /etc/apt/sources.list
#http://ftp.fau.de/debian/
# BASIC STUFF
RUN apt-get clean
......
Markdown is supported
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