Nbelles opened a new pull request, #499:
URL: https://github.com/apache/guacamole-server/pull/499

   Pull request based on discussion 
[here](https://lists.apache.org/thread/yoqfy9s6bfvcsgccc33kylgyk9h7pwko). 
   
   It is difficult to dynamically determine build options based on a given 
architecture from within a Dockerfile without requiring manually passing in the 
architecture type as an argument during the build process. Instead, this 
proposed approach uses the fact that a build script is used to actually build 
the dependencies and checks the architecture there. With this information it 
generates a list of overrides which are appended to the end of the 
`install_from_git` functions. Options are processed in order so by appending 
them to the end, they will override any options provided in the main 
Dockerfile. This guarantees the build process succeeds (even if the user 
provides bad options in the Dockerfile). 
   
   I have tested that it works on macOS (arch: amd64) and a Raspberry Pi 4 
(arch: aarch64), open to hearing how it works on other architectures!


-- 
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: dev-unsubscr...@guacamole.apache.org

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

Reply via email to