Open mboehm21 opened 4 years ago
I have to create something new for this. https://github.com/docker-library/official-images#architectures-other-than-amd64
I think this is solved since there are no hardcoded amd64 references in the Dockerfile anymore. Built it on a rpi4 (ubuntu 20.04 aarch64) yesterday and it works fine ( I skipped the pulseaudio compile though) .
Without the audio there are easier ways to use rdp just from apt. I just had to build it for an i386 and it went fine, with sound. I do not have an arm computer so someone with an arm machine clone this repo and build it on arm, share the result
To test this, I built it again with pulseaudio and can confirm that audio works when running on aarch64.
Only modification I had to do was to remove adobe-flashplugin
and browser-plugin-freshplayer-pepperflash
packages from the Dockerfile as those do not exist for ARM.
In 20.04 thos don't work anymore, maybe try the 20.04 branch. I changed it in that version
The flash drivers probably have been compiled for arm64. Is there source available for this plugin ? That could solve that problem
To my knowledge there has never been an adobe flash player for arm64 on Linux, not sure about pepperflash though.
Does it still make sense to install a flash player nowadays? I haven't followed it closely, but my understanding was that 2021 is the year where flash is finally gone since adobe stopped supporting it and even their official player won't play any flash anymore. https://www.adobe.com/products/flashplayer/end-of-life.html
Maybe try the 20.04 brach. The flash installation was changed to these packages : adobe-flashplugin browser-plugin-freshplayer-pepperflash But i'm not sure they would work on an arm machine
I found this on pepperflash and arm https://ubuntu-mate.community/t/tutorial-flash-player-for-chromium-and-firefox/3598
I tried to build the packages from source in the master branch , this might help you.
In the builder part
WORKDIR /tmp RUN apt-get source browser-plugin-freshplayer-pepperflash RUN apt-get build-dep -yy freshplayerplugin WORKDIR /tmp/freshplayerplugin-0.3.9 RUN dpkg-buildpackage -rfakeroot -uc -b
WORKDIR /tmp RUN apt-get source adobe-flashplugin RUN apt-get build-dep -yy adobe-flashplugin WORKDIR /tmp/adobe-flashplugin-20201231.1ls RUN dpkg-buildpackage -rfakeroot -uc -b
It creates the following files in /tmp on an amd64
/tmp/adobe-flash-properties-gtk_20201231.1-0ubuntu0.18.04.1_amd64.deb /tmp/adobe-flashplugin_20201231.1-0ubuntu0.18.04.1_amd64.deb /tmp/adobe-flash-properties-kde_20201231.1-0ubuntu0.18.04.1_amd64.deb /tmp/browser-plugin-freshplayer-pepperflash_0.3.9-0ubuntu0.18.04.1_amd64.deb
the arm64v8 branch has just been updated, you have to build it on a arm machine
Thanks for your work on this great image.
It would be quite interesting to have a version for arm-architecture. I tried to build the image on a Raspberry Pi 4 and got the following result:
Step 22/59 : RUN dpkg -i /tmp/xrdp_"${XRDP_VER}"-1_amd64.deb ---> Running in 32da423274ca dpkg: error: cannot access archive '/tmp/xrdp_0.9.10-1_amd64.deb': No such file or directory The command '/bin/sh -c dpkg -i /tmp/xrdp_"${XRDP_VER}"-1_amd64.deb' returned a non-zero code: 2
There are statements in your Dockerfile that are hard-coded for amd64.