-
-
Save mausch/78ea4dc473e6d270581d544e0a4e6a6f to your computer and use it in GitHub Desktop.
Trying to run AWS workspaces on Wine on Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:stretch-slim | |
RUN apt-get update \ | |
&& apt-get install -y wget gnupg apt-transport-https winbind | |
RUN dpkg --add-architecture i386 \ | |
&& wget -nc https://dl.winehq.org/wine-builds/Release.key \ | |
&& apt-key add Release.key | |
RUN echo 'deb https://dl.winehq.org/wine-builds/debian/ stretch main' >> /etc/apt/sources.list | |
RUN apt-get update && apt-get install -y --install-recommends winehq-devel | |
WORKDIR /work | |
RUN wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks | |
RUN chmod a+x winetricks | |
RUN ./winetricks vcrun2013 | |
RUN wget https://d2td7dqidlhjx7.cloudfront.net/prod/global/windows/Amazon+WorkSpaces.msi | |
# THE FOLLOWING DOESN'T WORK IN A DOCKER BUILD AS IT HAS NO ACCESS TO X11, so you have to run it manually within a docker container | |
# e.g. docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /usr/share/fonts:/usr/share/fonts aws-workspaces | |
# RUN wine msiexec /i /work/Amazon+WorkSpaces.msi /quiet | |
# RUN rm ~/.wine/drive_c/Program\ Files\ \(x86\)/Amazon\ Web\ Services\,\ Inc/Amazon\ WorkSpaces/vchan_plugins/pcoip_vchan_remoteprintclient.dll | |
# CMD wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Amazon\ Web\ Services\,\ Inc/Amazon\ WorkSpaces/workspaces.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment