bobbai00 opened a new pull request, #5573:
URL: https://github.com/apache/texera/pull/5573

   ### What changes were proposed in this PR?
   
   The three service Dockerfiles (`texera-web-application`, 
`computing-unit-master`, `computing-unit-worker`) always downloaded the 
`linux-x86_64` `protoc` release, so the build-time Python proto regeneration 
failed on ARM64 image builds with `protoc: No such file or directory` (exit 
127). This selects the `protoc` asset by architecture from `uname -m` 
(`x86_64`/`amd64` → `x86_64`, `aarch64`/`arm64` → `aarch_64`, unknown → fail 
fast), so both platforms build.
   
   ### Any related issues, documentation, discussions?
   
   Closes #5571
   
   ### How was this PR tested?
   
   - Confirmed protoc 3.19.4 publishes a `linux-aarch_64` asset and that the 
URL the fix builds resolves (HTTP 200).
   - Confirmed the `case` selection under `/bin/sh` maps `x86_64`/`amd64` → 
`x86_64`, `aarch64`/`arm64` → `aarch_64`, and exits non-zero on an unknown 
architecture.
   - The original failure was isolated to this single download line (the AMD64 
image already builds), so the targeted fix addresses the failing step on ARM64.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 4.8 (1M context)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to