Releases: Oaklight/autossh-tunnel-dockerized
v1.2.0 - 多架构支持与构建自动化增强 / v1.2.0 - Multi-Architecture Support and Enhanced Build Automation
本次发布引入了 Docker 镜像的多架构支持,使其能够在多种平台上运行,包括:
linux/amd64
linux/arm64/v8
linux/arm/v7
linux/arm/v6
linux/386
linux/ppc64le
linux/s390x
linux/riscv64
主要更新:
- 多架构支持:Docker 镜像现已支持所有基于 Alpine 的架构,适用于多种硬件平台。
- 构建自动化:新增
Makefile
,简化多架构镜像的构建和推送流程。Makefile
提供了构建、推送和清理 Docker 镜像的功能。 - 动态 UID/GID 支持:改进了用户和组 ID 的处理,确保与主机用户权限兼容。
- 文档更新:更新了
README.md
和README_en.md
。
破坏性变更:
- 配置文件路径变更:配置文件现在从容器内的
/home/myuser/config/
读取。请确保在挂载卷时正确映射路径。例如:volumes: - ./config:/home/myuser/config:ro
This release introduces multi-architecture support for the Docker image, enabling compatibility with a wide range of platforms, including:
linux/amd64
linux/arm64/v8
linux/arm/v7
linux/arm/v6
linux/386
linux/ppc64le
linux/s390x
linux/riscv64
Key Changes:
- Multi-Architecture Support: The Docker image now supports all Alpine-based architectures, making it versatile for deployment on various hardware platforms.
- Build Automation: Added a
Makefile
to simplify the build and push process for multi-arch images. TheMakefile
includes targets for building, pushing, and cleaning up Docker images. - Dynamic UID/GID Support: Improved user and group ID handling to ensure compatibility with host user permissions.
- Documentation Updates: Updated
README.md
andREADME_en.md
.
Breaking Changes:
- Config File Path Change: The configuration file is now read from
/home/myuser/config/
inside the container. Please ensure your volume mappings are updated accordingly. For example:volumes: - ./config:/home/myuser/config:ro
Full Changelog: v1.1.1...v1.2.0
v1.1.1: 优化 UID/GID 处理逻辑 / Optimized UID/GID Handling Logic
本次更新优化了 UID/GID 处理逻辑:
- 仅当
HOST_UID
或HOST_GID
不同于1000
时,才会重新创建myuser
。 - 使用
HOST_UID
和HOST_GID
替代UID
,避免 Bash 只读变量冲突。
运行以下命令:
HOST_UID=$(id -u) HOST_GID=$(id -g) docker compose -f compose.custom.yaml up -d --build
立即升级,体验更高效的容器用户管理!
This update optimizes UID/GID handling logic:
myuser
is only recreated ifHOST_UID
orHOST_GID
differs from1000
.- Uses
HOST_UID
andHOST_GID
instead ofUID
to avoid Bash read-only variable conflicts.
Run the following command:
HOST_UID=$(id -u) HOST_GID=$(id -g) docker compose -f compose.custom.yaml up -d --build
Upgrade now for more efficient container user management!
v1.1.0 动态设置容器的 UID/GID
本次版本引入了 compose.custom.yaml
和 Dockerfile.custom
,用于动态设置容器的 UID/GID,解决 .ssh
文件夹的权限问题。现在,容器将匹配主机用户的 UID/GID,实现无缝访问。更新的 README 文件提供了清晰的说明。运行以下命令:
This release introduces compose.custom.yaml
and Dockerfile.custom
to dynamically set the container’s UID/GID, resolving .ssh
folder permission issues. Now, the container matches the host user’s UID/GID for seamless access. Updated READMEs provide clear instructions. Run:
UID=$(id -u) GID=$(id -g) docker compose -f compose.custom.yaml up -d --build
立即升级,享受更好的兼容性和安全性!
Upgrade now for enhanced compatibility and security!
v1.0.0 First version!
Initial release: Dockerized SSH tunnel manager with autossh and YAML configuration, ready for use.
Full Changelog: https://github.com/Oaklight/autossh-tunnel-dockerized/commits/v1.0.0