A livecd or VM would probably be simplest.
I must admit one of the reasons I started down the container path was that if it had worked it should have ended up being not only reliable but simple to repeat (the process itself might be complex but the steps could be reduced to something easy).
Anyway, FWIW - here's a set of steps based on what I did:
Spoiler:
- Install docker (see https://docs.docker.com/engine/installation/)
- Create a directory called 'adewine', copy dotnetfx35setup.exe and ADE_2.0_Installer.exe to it (see Wiki instructions)
- Create a file called Dockerfile with the following contents:
Code:
FROM debian:jessie
RUN dpkg --add-architecture i386
RUN apt-get update
RUN apt-get install -y wget apt-transport-https
COPY wine.list /etc/apt/sources.list.d
RUN cd /tmp && wget https://dl.winehq.org/wine-builds/Release.key
RUN cd /tmp && apt-key add Release.key
RUN apt-get update
RUN apt-get install -y --install-recommends wine-staging
RUN cd /usr/local/bin && wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && chmod 755 winetricks
COPY ADE_2.0_Installer.exe /usr/local/bin
COPY dotnetfx35setup.exe /usr/local/bin
CMD ["ping", "127.0.0.1", "-c", "30"]
The 'ping' command is just a placeholder really, we're going to specify bash on the command line.
- Create a file called wine.list with the contents:
Code:
deb https://dl.winehq.org/wine-builds/debian/ jessie main
- Build the image:
Code:
docker build --rm -t adewine .
This will take some time.
- Run the container based on this image:
Code:
docker run -ti --name adewine_con --net=host -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v $HOME/.Xauthority:/root/.Xauthority adewine /bin/bash
This should start a container with access to your X display and you will be running a bash shell within it.
- In the container shell
- In the container shell, follow the steps in the Wiki. You're root within the container so I'm assuming a WINEPREFIX of /root/.adewine
- In the container shell
Code:
cd /root && tar czvf /tmp/adewine.tar.gz .adewine
- In another terminal session on your host machine, run
Code:
docker cp adewine_con:/tmp/adewine.tar.gz /tmp
cd ~ && tar xvf /tmp/adewine.tar.gz
- exit the container shell which will stop the container.
Once you're happy that it works, then you can remove the image and container:
Code:
docker rm adewine_con
docker rmi adewine
docker rmi debian:jessie
Not strictly necessary but it all takes up discspace.