Initial: luochen570-cli Docker image with zsh+zinit+NvChad+CLI tools

- Alpine-based Docker image
- zsh + zinit + Powerlevel10k
- zsh-autosuggestions, fast-syntax-highlighting
- CLI tools: yazi, eza, fzf, duf, ncdu, bat, tree, tmux
- NvChad (neovim IDE config)
- Weekly Gitea Actions build workflow (multi-arch)
- Gitea Container Registry publishing
This commit is contained in:
luochen570
2026-07-14 23:20:14 +08:00
commit 378ec90d1e
6 changed files with 2156 additions and 0 deletions

47
README.md Normal file
View File

@@ -0,0 +1,47 @@
# luochen570-cli
Alpine-based 自用 CLI 工具镜像 —— zsh + zinit 插件 + NvChad + 常用 CLI 工具
## 包含的工具
| 类别 | 工具 |
|------|------|
| Shell | zsh, zinit, Powerlevel10k, zsh-autosuggestions, fast-syntax-highlighting |
| 文件管理 | yazi, eza, bat, tree, duf, ncdu |
| 搜索 | fzf, ack |
| 编辑器 | Neovim + NvChad starter |
| 版本控制 | git |
| 多路复用 | tmux |
## 镜像拉取
```bash
docker pull git.luochen570.cn/luochen570/luochen570-cli:latest
```
## 使用
```bash
# 交互式 zsh
docker run -it --rm git.luochen570.cn/luochen570/luochen570-cli
# 挂载当前目录工作
docker run -it --rm -v "$PWD:/workspace" -w /workspace \
git.luochen570.cn/luochen570/luochen570-cli
# NvChad (neovim)
docker run -it --rm git.luochen570.cn/luochen570/luochen570-cli nvim
```
## 构建
每周自动构建(周日 UTC 8:00推送到 Gitea Container Registry。
也支持手动触发Gitea → Actions → build-weekly → Run workflow。
## 本地构建
```bash
docker buildx build --platform linux/amd64,linux/arm64 \
-t git.luochen570.cn/luochen570/luochen570-cli:latest \
--push .
```