Skip to content

Commit c57ff6e

Browse files
committed
Slightly refactor new rabbitmqadmin code
- align on "bashbrew architectures" for representing the architecture strings (matching the `Architectures:` lines in our downstream `library/rabbitmq` file; this makes it easier to filter that list later if we so choose) - avoid multi-stage build, especially to avoid the empty file copying/weirdness - we always need the `rabbitmqadmin` data, so we should query it before the loop (and pre-process it since the data is the same for every single iteration of the loop) - store `version` in the `rabbitmqadmin` block (our automation uses this for making nicer commit messages like "Update 4.0 to rabbitmqadmin 2.17.1" instead of just "Update 4.0" which is what the current code will lead to) - use `dpkg --print-architecture` instead of `uname -m` for architecture detection (the former is "userspace architecture" detection, which more closely matches what we need than the latter's "kernel architecture" detection)
1 parent 8e6c07c commit c57ff6e

File tree

12 files changed

+216
-262
lines changed

12 files changed

+216
-262
lines changed

.gitignore

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

3.13/alpine/management/Dockerfile

Lines changed: 1 addition & 16 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: 21 additions & 27 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: 1 addition & 16 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: 21 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

4.1/alpine/management/Dockerfile

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

4.1/ubuntu/management/Dockerfile

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

4.2/alpine/management/Dockerfile

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

4.2/ubuntu/management/Dockerfile

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

0 commit comments

Comments
 (0)