- 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
48 lines
1.1 KiB
Markdown
48 lines
1.1 KiB
Markdown
# 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 .
|
||
```
|