Releases: Oaklight/autossh-tunnel-dockerized
v1.4.0 - 支持远程主机转发隧道 / v1.4.0 - Support for Forward Tunneling to Remote Host
中文版:
本次发布新增了对远程主机转发隧道的支持,并更新了版本号和文档。
主要更新:
- 远程主机转发隧道支持:现在支持将本地端口转发到远程主机,增强了隧道的灵活性。
- 版本号更新:版本号更新为
v1.4.0
。 - 文档更新:更新了
README.md
和README_en.md
,增加了对新功能的说明。
破坏性变更:
无
English Version:
This release introduces support for forward tunneling to remote hosts and updates the version number and documentation.
Key Changes:
- Forward Tunneling to Remote Host: Now supports forwarding local ports to remote hosts, enhancing the flexibility of tunneling setups.
- Version Bump: The version number has been updated to
v1.4.0
. - Documentation Updates: Updated
README.md
andREADME_en.md
with explanations for the new features.
Breaking Changes:
None
Full Changelog: v1.3.0...v1.4.0
v1.3.0 - Makefile 增强与脚本优化 / v1.3.0 - Makefile Enhancement and Script Optimization
v1.3.0 - Makefile 增强与脚本优化 / v1.3.0 - Makefile Enhancement and Script Optimization
中文版:
本次发布主要增强了 Makefile
并优化了 start_autossh.sh
脚本,以提升构建和运行效率。
主要更新:
- Makefile 增强:新增
build-test
目标,用于在本地构建镜像并运行测试。 - 脚本优化:
start_autossh.sh
脚本现在能够解析更复杂的remote_port
配置,支持更灵活的隧道设置。 - 文档更新:更新了
README.md
和README_en.md
。
破坏性变更:
- 配置文件格式:
remote_port
配置的格式现在支持更复杂的多隧道设置。请参考新的文档更新您的配置文件。
English Version:
This release primarily enhances the Makefile
and optimizes the start_autossh.sh
script for improved build and runtime efficiency.
Key Changes:
- Makefile Enhancement: Added a
build-test
target to build the image locally and run tests. - Script Optimization: The
start_autossh.sh
script now parses more complexremote_port
configurations, enabling more flexible tunneling setups. - Documentation Updates: Updated
README.md
andREADME_en.md
.
Breaking Changes:
- Configuration Format: The
remote_port
configuration now supports more complex multi-tunnel setups. Please refer to the updated documentation to adjust your configuration files accordingly.
Full Changelog: v1.2.0...v1.3.0
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