You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "ricardozanini (via GitHub)" <gi...@apache.org> on 2024/09/12 13:21:21 UTC

[I] [image-env-to-json] Make binary compatible with any architecture [incubator-kie-tools]

ricardozanini opened a new issue, #2578:
URL: https://github.com/apache/incubator-kie-tools/issues/2578

   Currently, `image-env-to-json` only supports the x64 architecture. When running on new Arm machines, the underlying node `pkg` library relies on glibc for x64. That will always fail on Darwin arm CPUs.
   
   Ideally, this package should also offer a way to copy the correct binary despite the OS and Architecture so we avoid clients having to do this:
   
   ```json
   {
       "copy:image-env-to-json": "run-script-os",
       "copy:image-env-to-json:linux:darwin": "cp ./node_modules/@kie-tools/image-env-to-json/dist/linux/image-env-to-json-standalone ./dist-dev/",
       "copy:image-env-to-json:win32": "pnpm powershell \"Copy-Item ./node_modules/@kie-tools/image-env-to-json/dist/linux/image-env-to-json-standalone ./dist-dev/\""
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [image-env-to-json] Make binary compatible with any architecture [incubator-kie-tools]

Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento closed issue #2578: [image-env-to-json] Make binary compatible with any architecture
URL: https://github.com/apache/incubator-kie-tools/issues/2578


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [image-env-to-json] Make binary compatible with any architecture [incubator-kie-tools]

Posted by "ljmotta (via GitHub)" <gi...@apache.org>.
ljmotta commented on issue #2578:
URL: https://github.com/apache/incubator-kie-tools/issues/2578#issuecomment-2649412194

   @ricardozanini Hey there. I've opened a PR to include all missing native binaries. For the reported case, the `copy:image-env-to-json` scripts are used to copy the `image-env-to-json` linux binary before a Container image build, which will be used in a Linux container, so for this case, it must be used the `image-env-to-json-linux-amd64` (the new binary name).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] [image-env-to-json] Make binary compatible with any architecture [incubator-kie-tools]

Posted by "ricardozanini (via GitHub)" <gi...@apache.org>.
ricardozanini commented on issue #2578:
URL: https://github.com/apache/incubator-kie-tools/issues/2578#issuecomment-2649424767

   @ljmotta are you going to adjust the dependant packages as well? <3


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org