-
-
Save oiotoxt/5fe8bf60d3b346e6cad9e3cfe2a07a46 to your computer and use it in GitHub Desktop.
다음 카카오 미러 사용하기 | Using daum kakao mirror for Ubuntu / Docker / PyPI
This file contains hidden or 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/mirror.kakao.com/g' /etc/apt/sources.list \ | |
| && apt-get update && apt-get install -y \ | |
| ...packages-you-want-to-install... \ | |
| && rm -rf /var/lib/apt/lists/* |
This file contains hidden or 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
| # See <https://pip.pypa.io/en/stable/user_guide/#configuration> | |
| # Unix: $HOME/.config/pip/pip.conf | |
| # macOS: $HOME/Library/Application Support/pip/pip.conf | |
| # Windows: %APPDATA%\pip\pip.ini | |
| [global] | |
| index-url=http://mirror.kakao.com/pypi/simple | |
| trusted-host=mirror.kakao.com |
This file contains hidden or 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
| sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak | |
| sudo sed -i 's/archive.ubuntu.com/mirror.kakao.com/g' /etc/apt/sources.list | |
| sudo apt-get update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
oh thanks