加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
updaterepo.sh 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
svaroqui 提交于 2019-12-23 22:50 . Expose orchetrator config to GUI
#e!/bin/sh
echo '{"repos": [' > share/repo/repos.json
echo '{"name": "mariadb", "image": "mariadb", "tags":' >> share/repo/repos.json
wget -q https://registry.hub.docker.com/v1/repositories/mariadb/tags -O - >> share/repo/repos.json
echo '},' >> share/repo/repos.json
echo '{"name": "mysql", "image": "mysql", "tags":' >> share/repo/repos.json
wget -q https://registry.hub.docker.com/v1/repositories/mysql/tags -O - >> share/repo/repos.json
echo '},' >> share/repo/repos.json
echo '{"name": "percona", "image": "percona", "tags":' >> share/repo/repos.json
wget -q https://registry.hub.docker.com/v1/repositories/percona/tags -O - >> share/repo/repos.json
echo '},' >> share/repo/repos.json
echo '{"name": "proxysql", "image": "proxysql/proxysql", "tags":' >> share/repo/repos.json
wget -q https://registry.hub.docker.com/v1/repositories/proxysql/proxysql/tags -O - >> share/repo/repos.json
echo '},' >> share/repo/repos.json
echo '{"name": "maxscale", "image": "mariadb/maxscale", "tags":' >> share/repo/repos.json
wget -q https://registry.hub.docker.com/v1/repositories/mariadb/maxscale/tags -O - >> share/repo/repos.json
echo '},' >> share/repo/repos.json
echo '{"name": "haproxy", "image": "haproxy", "tags":' >> share/repo/repos.json
wget -q https://registry.hub.docker.com/v1/repositories/haproxy/tags -O - >> share/repo/repos.json
echo '},' >> share/repo/repos.json
echo '{"name": "sphinx", "image": "leodido/sphinxsearch", "tags":' >> share/repo/repos.json
wget -q https://registry.hub.docker.com/v1/repositories/leodido/sphinxsearch/tags -O - >> share/repo/repos.json
echo '},' >> share/repo/repos.json
echo '{"name": "postgres", "image": "postgres", "tags":' >> share/repo/repos.json
wget -q https://registry.hub.docker.com/v1/repositories/postgres/tags -O - >> share/repo/repos.json
echo '}' >> share/repo/repos.json
echo ']}' >> share/repo/repos.json
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化