Docker provides a build-time variable called BUILDARCH which automatically populates with the architecture (like amd64, arm64, etc.) when you use docker build or docker buildx build.
I utilized this variable to address the installation of some platform-specific tools. I trust this will be beneficial to the community.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #575
Description of changes:
Docker provides a build-time variable called
BUILDARCH
which automatically populates with the architecture (likeamd64
,arm64
, etc.) when you usedocker build
ordocker buildx build
.I utilized this variable to address the installation of some platform-specific tools. I trust this will be beneficial to the community.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.