Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Multi-Architecture Support for container_run_and_commit #2239

Open
ding-ma opened this issue Mar 28, 2023 · 1 comment
Open

Multi-Architecture Support for container_run_and_commit #2239

ding-ma opened this issue Mar 28, 2023 · 1 comment
Labels
Can Close? Will close in 30 days unless there is a comment indicating why not

Comments

@ding-ma
Copy link

ding-ma commented Mar 28, 2023

🚀 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

@github-actions
Copy link

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 github-actions bot added the Can Close? Will close in 30 days unless there is a comment indicating why not label Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Can Close? Will close in 30 days unless there is a comment indicating why not
Projects
None yet
Development

No branches or pull requests

1 participant