On Thu, Mar 21, 2024 at 11:28 PM Nathaniel Belles < [email protected]> wrote:
> Hello, > > I have been interested in getting Guacamole working in Docker on ARM for > running on Raspberry Pi’s. Although the Raspberry Pi isn’t my primary use > case, it does have the unique advantage of being cheap and ultra-low power > (albeit at degraded performance compared to full-on desktops). I have a > Raspberry Pi installed at all my remote locations so even when my servers > are rebooting or having connectivity issues, I can still at least access > devices on the local network through Guacamole (mostly SSH and the > occasional VNC). I looked around and only found pre-compiled versions that > claimed to be compatible with Raspberry Pi’s but were tragically old > versions of Guacamole. > > I have gone through the (surprisingly not painstaking) process of > modifying the Dockerfile’s for guacamole-server and guacamole-client. I > could create a pull request if that is what is wanted to integrate it to > the main codebase. For now, I felt I should at least share the changes I > made here for others looking to do the same. > > This is great, thank you! I would think a pull request would be a great thing. > guacamole-server/Dockerfile changes: > - -DWITH_SSE2=ON \ > + -DWITH_SSE2=OFF \ > (SSE2 doesn’t compile on ARM, I don’t have any windows computers on this > network to verify that FreeRDP still works with this option disabled) > > I'm not terribly familiar with Dockerfiles, but hopefully there's a way we could set/disable this option based on the architecture? > guacamole-client/Dockerfile changes: > -ARG TOMCAT_VERSION=8.5 > -ARG TOMCAT_JRE=jdk8 > +ARG TOMCAT_VERSION=9 > +ARG TOMCAT_JRE=jdk21 > -FROM maven:3-eclipse-temurin-8-focal AS builder > +FROM maven:3-eclipse-temurin-21 AS builder > > We might want to consider changing this across the board for all architectures, assuming it doesn't break things. Would need some testing, but seems like a good direction to head. -Nick
