Skip to content

Commit 612343e

Browse files
committed
Add rabbitmqadmin-ng build stage to Dockerfiles
The RabbitMQ Docker images should include the `rabbitmqadmin-ng` CLI tool for managing RabbitMQ instances. This tool is written in Rust and must be compiled from source with proper OpenSSL linking. This change adds a `rabbitmqadmin-builder` stage to the Dockerfile templates that installs Rust via `rustup-init.sh`, downloads the `rabbitmqadmin-ng` source from GitHub, and compiles it using `cargo build`. The build links against the existing OpenSSL installation and configures the runtime library path via `RUSTFLAGS`. The `versions.sh` script now fetches the latest `rabbitmqadmin-ng` release tag from the GitHub API and calculates SHA256 checksums for both the source archive and Rust installer. These values are stored in `versions.json` and templated into the generated Dockerfiles.
1 parent c75d7c6 commit 612343e

File tree

23 files changed

+403
-58
lines changed

23 files changed

+403
-58
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
*.tar.gz
2+
*.zip
3+
rustup-init.sh
14
.jq-template.awk

3.13/alpine/Dockerfile

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

3.13/alpine/management/Dockerfile

Lines changed: 35 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

3.13/ubuntu/Dockerfile

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

3.13/ubuntu/management/Dockerfile

Lines changed: 38 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

4.0/alpine/Dockerfile

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

4.0/alpine/management/Dockerfile

Lines changed: 35 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

4.0/ubuntu/Dockerfile

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

4.0/ubuntu/management/Dockerfile

Lines changed: 38 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

4.1/alpine/Dockerfile

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)