- Dockerfile: Ubuntu + Python + Node + Go + Rust + MySQL + Redis - 离线安装包下载脚本(国内镜像源) - 技术规格说明书 SPECS.md - 代码审查报告 REVIEW-REPORT.md
126 lines
2.8 KiB
Markdown
126 lines
2.8 KiB
Markdown
# Dev Box 软件包清单
|
|
|
|
> 最后更新:2026-03-19
|
|
|
|
---
|
|
|
|
## 软件包列表
|
|
|
|
| 软件 | 版本 | 文件名 | 大小 | 国内镜像 |
|
|
|------|------|--------|------|---------|
|
|
| Node.js | v24.14.0 | node-v24.14.0-linux-x64.tar.xz | ~30 MB | npmmirror |
|
|
| Go | 1.26.1 | go1.26.1.linux-amd64.tar.gz | ~64 MB | golang.google.cn |
|
|
| Rust | 1.94.0 | rust-1.94.0-x86_64-unknown-linux-gnu.tar.xz | ~183 MB | USTC |
|
|
| Claude Code | 2.1.79 | claude-code-2.1.79.tgz | ~20 MB | npmmirror |
|
|
| OpenClaw | 2026.3.13 | openclaw-2026.3.13.tgz | ~28 MB | npmmirror |
|
|
|
|
**总大小**:约 325 MB
|
|
|
|
---
|
|
|
|
## 国内镜像源
|
|
|
|
### Node.js (淘宝镜像)
|
|
|
|
```bash
|
|
# 下载地址
|
|
https://npmmirror.com/mirrors/node/v24.14.0/node-v24.14.0-linux-x64.tar.xz
|
|
|
|
# 备用:清华镜像
|
|
https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/v24.14.0/node-v24.14.0-linux-x64.tar.xz
|
|
```
|
|
|
|
### Go (官方中国镜像)
|
|
|
|
```bash
|
|
# 下载地址
|
|
https://golang.google.cn/dl/go1.26.1.linux-amd64.tar.gz
|
|
|
|
# 备用:阿里云镜像
|
|
https://mirrors.aliyun.com/golang/go1.26.1.linux-amd64.tar.gz
|
|
```
|
|
|
|
### Rust (中科大镜像)
|
|
|
|
```bash
|
|
# 下载地址
|
|
https://mirrors.ustc.edu.cn/rust-static/dist/rust-1.94.0-x86_64-unknown-linux-gnu.tar.xz
|
|
|
|
# 备用:清华镜像
|
|
https://mirrors.tuna.tsinghua.edu.cn/rustup/dist/rust-1.94.0-x86_64-unknown-linux-gnu.tar.xz
|
|
```
|
|
|
|
### npm 包 (淘宝镜像)
|
|
|
|
```bash
|
|
# Claude Code
|
|
npm pack @anthropic-ai/claude-code@2.1.78 --registry=https://registry.npmmirror.com
|
|
|
|
# OpenClaw
|
|
npm pack openclaw@2026.3.13 --registry=https://registry.npmmirror.com
|
|
```
|
|
|
|
---
|
|
|
|
## 下载方式
|
|
|
|
### Windows (PowerShell)
|
|
|
|
```powershell
|
|
cd D:\dev-box
|
|
.\download-packages.ps1
|
|
```
|
|
|
|
### Linux/macOS (Bash)
|
|
|
|
```bash
|
|
cd /path/to/dev-box
|
|
chmod +x download-packages.sh
|
|
./download-packages.sh
|
|
```
|
|
|
|
### 手动下载
|
|
|
|
```bash
|
|
# Node.js
|
|
curl -LO https://npmmirror.com/mirrors/node/v24.14.0/node-v24.14.0-linux-x64.tar.xz
|
|
|
|
# Go
|
|
curl -LO https://golang.google.cn/dl/go1.26.1.linux-amd64.tar.gz
|
|
|
|
# Rust
|
|
curl -LO https://mirrors.ustc.edu.cn/rust-static/dist/rust-1.94.0-x86_64-unknown-linux-gnu.tar.xz
|
|
```
|
|
|
|
---
|
|
|
|
## 版本更新
|
|
|
|
如需更新软件版本,修改以下位置:
|
|
|
|
1. **下载脚本** - `download-packages.ps1` / `download-packages.sh` 中的版本号
|
|
2. **Dockerfile** - 对应的文件名和注释
|
|
|
|
### 查看最新版本
|
|
|
|
| 软件 | 查询地址 |
|
|
|------|---------|
|
|
| Node.js | https://npmmirror.com/mirrors/node/ |
|
|
| Go | https://golang.google.cn/dl/ |
|
|
| Rust | https://mirrors.ustc.edu.cn/rust-static/dist/ |
|
|
| Claude Code | `npm view @anthropic-ai/claude-code versions` |
|
|
| OpenClaw | `npm view openclaw versions` |
|
|
|
|
---
|
|
|
|
## 目录结构
|
|
|
|
```
|
|
packages/
|
|
├── node-v24.14.0-linux-x64.tar.xz # Node.js
|
|
├── go1.26.1.linux-amd64.tar.gz # Go
|
|
├── rust-1.94.0-x86_64-unknown-linux-gnu.tar.xz # Rust
|
|
├── claude-code-2.1.78.tgz # Claude Code
|
|
└── openclaw-2026.3.13.tgz # OpenClaw
|
|
```
|