Commit 9c0539d0 authored by Oliver Lippert's avatar Oliver Lippert

Error reading from server

parent e4b8fe4d
Pipeline #1802 failed with stage
in 1 minute and 37 seconds
......@@ -2,6 +2,11 @@ FROM debian:latest
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 apt-get clean
RUN apt-get update
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment