Last active
August 23, 2016 02:40
-
-
Save snoby/81ebc04bda376d27c1fbeb3c9a36965b to your computer and use it in GitHub Desktop.
Change ubuntu sources.list to use local repo mirror
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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