Skip to content

Releases: Oaklight/autossh-tunnel-dockerized

v1.2.0 - 多架构支持与构建自动化增强 / v1.2.0 - Multi-Architecture Support and Enhanced Build Automation

09 Jan 11:44
Compare
Choose a tag to compare

本次发布引入了 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.mdREADME_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. The Makefile 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 and README_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

29 Dec 10:07
Compare
Choose a tag to compare

本次更新优化了 UID/GID 处理逻辑:

  1. 仅当 HOST_UIDHOST_GID 不同于 1000 时,才会重新创建 myuser
  2. 使用 HOST_UIDHOST_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:

  1. myuser is only recreated if HOST_UID or HOST_GID differs from 1000.
  2. Uses HOST_UID and HOST_GID instead of UID 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

29 Dec 10:03
Compare
Choose a tag to compare

本次版本引入了 compose.custom.yamlDockerfile.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!

14 Nov 07:17
Compare
Choose a tag to compare

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