Skip to content

Instantly share code, notes, and snippets.

@snoby
Last active August 23, 2016 02:40
Show Gist options
  • Save snoby/81ebc04bda376d27c1fbeb3c9a36965b to your computer and use it in GitHub Desktop.
Save snoby/81ebc04bda376d27c1fbeb3c9a36965b to your computer and use it in GitHub Desktop.
Change ubuntu sources.list to use local repo mirror
RUN sed -i "s|archive.ubuntu.com|apt-mirror.docker.local|g" /etc/apt/sources.list
RUN sed -i "s|deb-src|#deb-src|g" /etc/apt/sources.list
deb [arch=amd64]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment