Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a bug for "CHANGE_SOURCE=true" #3363

Closed
crisslin opened this issue Mar 8, 2023 · 3 comments
Closed

a bug for "CHANGE_SOURCE=true" #3363

crisslin opened this issue Mar 8, 2023 · 3 comments
Labels

Comments

@crisslin
Copy link

crisslin commented Mar 8, 2023

sed -i 's/ports.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list; \

Two more lines of code need to be added here
sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list; \
sed -i 's/security.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list; \
After increasing, the image source can be accelerated.

@bestlong bestlong added the GFW Global Firewall label Mar 9, 2023
@stale
Copy link

stale bot commented Jun 18, 2023

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Jun 18, 2023
@seek-x2y
Copy link
Contributor

seek-x2y commented Jun 19, 2023

One more line of code need to be added ?
touch /etc/apt/sources.list && \
for the error

------                                                                                                                                                                                                                                                                        
 > [ 2/80] RUN if [ true = true ]; then     sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list &&     sed -i 's/security.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list &&     sed -i 's/security-cdn.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list ;fi:
#0 0.250 sed: can't read /etc/apt/sources.list: No such file or directory
------

@stale stale bot removed the Stale label Jun 19, 2023
@stale
Copy link

stale bot commented Sep 17, 2023

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants