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

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 with a single working domain
# in attempt to "prevent" the "Error reading from server" error.
RUN sed -i "s/`curl -s -D - | awk '/^Link:/ { print $2 }' | sed -e 's@<http://\(.*\)/debian/>;@\1@g'`/" /etc/apt/sources.list
RUN sed -i "s/" /etc/apt/sources.list
RUN apt-get clean
Supports Markdown
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