Skip to content

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

Latest
Compare
Choose a tag to compare
@Oaklight Oaklight released this 09 Jan 11:44
· 1 commit to master since this release

本次发布引入了 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