Last active
March 16, 2025 05:58
-
-
Save yjcrocks/7f82441f32f211b9986f3c9a80b92246 to your computer and use it in GitHub Desktop.
다음 카카오 미러 사용하기 | Using daum kakao mirror for Ubuntu / Docker / PyPI
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/http:\/\/archive.ubuntu.com/https:\/\/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 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=https://mirror.kakao.com/pypi/simple | |
trusted-host=mirror.kakao.com |
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
sudo cp /etc/apt/sources.list.d/ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources.bak | |
sudo sed -i 's/http:\/\/archive.ubuntu.com/https:\/\/mirror.kakao.com/g' /etc/apt/sources.list.d/ubuntu.sources | |
sudo apt-get update |
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
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak | |
sudo sed -i 's/http:\/\/archive.ubuntu.com/https:\/\/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