環境 laradock-9.7 + win10 + docker desktop
問題:
構建 workspace 服務時 卡在這動不了,各種搜資料終於解決了

解決方法:

在 workspace 的 Dockfile 中 增加標紅的一段:
find /etc/apt/sources.list.d/ -type f -name "ondrej-ubuntu-php-xenial.list" -exec sed -i.bak -r 's#deb(-src)?\s*http(s)?://ppa.launchpad.net#deb\1 https\2://launchpad.proxy.ustclug.org#ig' {} \; && \
參考:
https://www.zhenyan.io/zh-cn/Download-Open-Source-Resources-Faster-in-Mainland-China/
https://github.com/ustclug/mirrorrequest/issues/43
https://www.yaozeyuan.online/2018/04/01/2018/04/Ubuntu16.04%E5%AE%89%E8%A3%85PHP7.2/
https://learnku.com/articles/6018/homemade-ppa-accelerated-mirror-image
https://segmentfault.com/a/1190000021076776
https://segmentfault.com/a/1190000021848135
