If you want latest wine both 32/64 bit you should compile it by yourself. The problem is that you require to install both 32/64 bit development libraries on your compiling machine. But you can not to do this if you use containers.
LXC implementation may be simpler, but I don't like LXC.
Current implementation uses two images: one for compiling 64 bit wine and second for 32 bit wine.
apt-get installs wine to /usr/bin
, this repository use the same folder.
Therefore you should apt-get remove
before any make install
.
There is no native ubuntu 32 bit image for docker, but
dpkg --add-architecture i386
makes possible to done all magic. Another option
is to use besn0847/ubuntu32
docker image which implemented in wine32-alt
folder.
Native lxc implementation may be more simpler and effective, but I don't like lxc.
What has been tested with wine 1.7.28 builded with this doodad:
- Chaos Theory demo x86 — wine 32/64
- Steam x86 — wine 32/64
- Terraria (through Steam) — wine 32
- Terraria (through Steam) — wine 64 — crashes in game menu
- FL Studio 11 x64 — wine 32
other tests — later
./configure
tells that some features like OpenCL
is not supported because
it requires some development libraries to be installed.
docker
makefile
Preparing:
sudo apt-get install docker
git clone https://github.com/krasnobaev/docker-wine
Building:
cd docker-wine
sudo make buildwine64image
sudo make startdata
sudo make buildwine32image
sudo make buildwine32
sudo make copywinetohost
Installing:
cd /usr/src/wine-git
git checkout $WINE-VERSION
cd /usr/src/wine32
sudo make install
cd /usr/src/wine64
sudo make install
cp /usr/src/wineasio/wineasio_32bit.dll.so /usr/lib/wine/
cp /usr/src/wineasio/wineasio_64bit.dll.so /usr/lib64/wine/
- make ubuntu/debian package on output
- test whether it is possible to done all magic inside one container
- move wine-git to data container?
- make tests
- install other dependent packages to make possible compiling of full-featured wine
- add option to install in other folder than
/usr/bin
- use
docker commit
?
Win64 Support for Wine — some notes for wow64 used in this repository by winehq.org.