Skip to content

Latest commit

 

History

History
125 lines (93 loc) · 6.83 KB

File metadata and controls

125 lines (93 loc) · 6.83 KB

Changelog

All notable changes to this Docker packaging project are documented here. Each entry tracks the upstream XMRig version used and any packaging changes made in this repository.

[Unreleased]

Security & bug fixes

  • BUG: Fixed Dockerfile.secure silently failing to find config.json at runtime — xmrig resolves a relative config path against the binary's own location, and the secure variant copies the binary to /usr/local/bin while the config lives in /home/xmrig. docker-entrypoint.sh now injects an explicit --config=<abs path> unless the caller already passed -c/--config.

CI/CD

  • Added a validate job to docker-build.yml (matrix over Dockerfile and Dockerfile.secure) that builds each variant and runs --version, --dry-run, and security-check.sh against it on every push and pull request to main.
  • The push job now re-validates the exact image about to ship before tagging/pushing, and only runs on push events (not pull requests); it is gated on the validate job passing.
  • docker-build.yml now also triggers on pull requests to main for early feedback, without pushing images.
  • Pinned snyk/actions/docker to a commit SHA (9adf32b... / v1.0.0) instead of a mutable tag, matching the pinning convention already used for other actions in this repo.

[6.26.0] - 2026-04-07

Upstream XMRig changes

  • Added support for RandomX v2 (#3769, #3772, #3774, #3775, #3776, #3782, #3783)
  • RISC-V: vectorized RandomX main loop (#3746)
  • RISC-V: auto-detect and use vector code for all RandomX AES functions (#3748)
  • RISC-V: detect and use hardware AES (#3749)
  • RISC-V: use vector hardware AES instead of scalar (#3750)
  • RISC-V: fixed scratchpad prefetch, removed unnecessary instruction (#3757)
  • RandomX: added VAES-512 support for Zen5 (#3758)
  • RandomX: optimized VAES code (#3759)
  • Fixed keepalive timer logic (#3762)
  • RandomX: ARM64 fixes (#3778)
  • Fixed OpenCL address-space mismatch in keccak_f800_round (#3784)
  • Don't reset nonce during donation rounds (#3785)

Packaging changes

  • Added release automation workflow (release-from-version.yml)
  • Added agent workspace guide (AGENTS.md)
  • Added CHANGELOG.md with full release history
  • Updated README with release automation docs and Compose usage

Security & bug fixes (audit)

  • CRITICAL: Fixed docker-entrypoint.sh using relative path ./xmrig — now uses PATH lookup (exec xmrig) for compatibility with both image variants
  • CRITICAL: Fixed broken quoting in start_zergpool.sh exec line
  • CRITICAL: Fixed start-linux-randomx.sh hardcoded path /home/xmrig/xmrig — now uses xmrig via PATH
  • HIGH: Removed exposed JWT example token from config.json (access-token set to null)
  • HIGH: Removed --no-check-certificate from both Dockerfiles — TLS verification now enforced
  • HIGH: Added PASSWORD env var to Dockerfile.secure for parity with standard image
  • HIGH: Removed Quay.io references from CI, build.sh, and README.md (registry was not in use)
  • HIGH: GHCR login switched from custom secrets to github.actor + GITHUB_TOKEN
  • Added SHA256 checksum verification for XMRig binary downloads in both Dockerfiles
  • Added set -eu to all shell scripts for fail-fast behavior
  • Removed unused packages (curl, gnupg) from Dockerfiles
  • Removed stale docker-image.yml workflow (triggered on non-existent master branch)
  • Set login shell to /usr/sbin/nologin for container user
  • Removed redundant USER directives in Dockerfiles
  • Replaced hardcoded wallet address with YOUR_WALLET_ADDRESS placeholder
  • Added tls: true to config.json for encrypted pool connections
  • HEALTHCHECK in Dockerfile.secure uses xmrig --version via PATH instead of absolute path
  • Added .env.randomx.example for RandomX-specific environment variables
  • Extended .dockerignore to exclude docs and dev files from build context
  • Made security-check.sh accept image name as parameter
  • Added github-actions ecosystem to Dependabot configuration
  • Corrected SSL/TLS claim in SECURITY.md
  • build.sh now exits before security check when called with build-only

[6.24.0] - 2025-07-16

Upstream XMRig changes

  • Fixed detection of L2 cache size for complex NUMA topologies (#3671)
  • Fixed ARMv7 build (#3674)
  • Fixed auto-config for AMD CPUs with less than 2 MB L3 cache per thread (#3677)
  • Improved IPv6 support: new defaults use IPv6 equally with IPv4 (#3678)

[6.22.2] - 2025-01-14

Upstream XMRig changes

[6.21.3] - 2024-05-14

Upstream XMRig changes

[6.21.0] - 2024-01-03

Upstream XMRig changes

[6.20.0] - 2023-07-12

Upstream XMRig changes

[6.19.2] - 2023-04-06

Upstream XMRig changes

[6.19.1] - 2023-03-29

Upstream XMRig changes

[6.19.0] - 2023-02-02

Upstream XMRig changes

[6.18.1] - 2022-11-01

Upstream XMRig changes

[6.18.0] - 2022-07-27

Upstream XMRig changes

[6.12.1] - 2021-04-27

Upstream XMRig changes

[6.8.0] - 2021-04-27

Upstream XMRig changes