rules_docker icon indicating copy to clipboard operation
rules_docker copied to clipboard

Multi-Architecture Support for container_run_and_commit

Open ding-ma opened this issue 2 years ago • 2 comments

🚀 feature request

Relevant Rules

Ability to exectue container_run_and_commit under a different architecture set

Description

I'm building a Java amd and arm container. keytool invokes the binary within the container thus failing to run on my AMD64 chipset.

     container_run_and_commit(
         name =  java_version + "_" + arch + "_" + distro + "_install",
         commands = [
             "keytool -storepasswd -new $KEY_TOOL_PWD -storepass changeit -cacerts",
         ],
         image = java_version + "_" + arch + "_" + distro + "_installer.tar",
     )

Describe the solution you'd like

Emulate the commandset like how docker buildx does it.

Describe alternatives you've considered

None

ding-ma avatar Mar 28 '23 19:03 ding-ma

This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_docker!

github-actions[bot] avatar Sep 25 '23 02:09 github-actions[bot]

This issue was automatically closed because it went 30 days without a reply since it was labeled "Can Close?"

github-actions[bot] avatar Dec 10 '24 02:12 github-actions[bot]