1

有无好用的制品库,或者 gh 代理

 1 year ago
source link: https://www.v2ex.com/t/857384
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  宽带症候群

有无好用的制品库,或者 gh 代理

  guanzhangzhang · 2 小时 33 分钟前 · 288 次点击

自己编译了 op 固件,是推送到阿里云 docker 镜像仓库上,目前在线升级脚本是借助 docker pull 下载包含固件的 docker 镜像后 cp 固件和 sha256sums 出来,然后执行在线升级逻辑。 在线升级造成的一些限制就是初次 rootfs 很小(升级的时候会扩容),而 docker 占据很大容量:

root@OpenWrt:~# du -shx /*
...
203.0M	/overlay
403.5M	/rom
...
root@OpenWrt:/overlay/upper/usr/bin# du -shx *
36.8M	containerd
6.8M	containerd-shim
8.8M	containerd-shim-runc-v1
8.8M	containerd-shim-runc-v2
16.2M	containerd-stress
18.7M	ctr
15.3M	dnet
30.6M	docker
60.0K	docker-init
1.6M	docker-proxy
45.0M	dockerd
24.0K	tini

调整了 ROOTFSZISE 暂时是规避这个问题,但是这个不是优雅的解决,可能维护的其他设备的配置无法跑起 docker 。 所以有没有啥符合我需求的制品库,我可以构建后把固件推送上去,然后我固件里带的升级脚本 curl 或者 wget 不需要验证就能下载到,之前的 ghproxy 都不稳定。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK