fix: 优化 Docker 构建流程并修复 Ventoy 资源路径

- Dockerfile: 合并 RUN 层减少镜像层数,使用 COPY --chmod 简化权限设置
- init.sh: 指定数据目录为 /etc/one-kvm 确保路径一致
- package-docker.sh: 从 libs/ventoy-img-rs/resources 复制资源并自动解压 xz 文件
- README.md: 修正 docker run 示例格式
This commit is contained in:
mofeng-git
2025-12-28 19:11:48 +08:00
parent d143d158e4
commit 61323a7664
4 changed files with 30 additions and 37 deletions

View File

@@ -6,7 +6,7 @@ set -e
# Start one-kvm with default options
# Additional options can be passed via environment variables
EXTRA_ARGS=""
EXTRA_ARGS="-d /etc/one-kvm"
# Enable HTTPS if requested
if [ "${ENABLE_HTTPS:-false}" = "true" ]; then