Sign inSign up

tophatedd/docker-wine

By tophatedd

•Updated over 6 years ago

Wine 4.0.3 to run BioEdit.

Image
0

187

tophatedd/docker-wine repository overview

⁠Wine 4.0.3 32bit

Inspired by the work of Scotty Hardy's wine Dockerfile⁠.

Downgraded to Wine 4.0.3 to support⁠ ADODB connection that BioEdit requires. It also requires the mdac28 dll.

⁠Preparing volume

Write to winebioedit docker volume a new wine env, install mdac28 (winetricks) and install BioEdit.
You'll have to provide your own BioEdit setup.

BIOEDIT_SETUP_FILE=/path/to/your/bioedit/setup.exe

docker run -it \
    --rm \
    --env="DISPLAY" \
    --volume="${XAUTHORITY:-${HOME}/.Xauthority}:/root/.Xauthority:ro" \
    --volume="/tmp/.X11-unix:/tmp/.X11-unix" \
    --volume="winebioedit:/root" \
    --volume="${BIOEDIT_SETUP_FILE}:/biosetup/setup.exe:ro" \
    --device /dev/video0 \
    --device /dev/snd \
    --device /dev/dri \
    --tmpfs /dev/shm \
    -v /etc/localtime:/etc/localtime:ro \
    --hostname="$(hostname)" \
    --ipc="host" \
    --env="WINEARCH=win32" \
    --name="wine-bioedit" \
    tophatedd/docker-wine:403 bash -c "wineboot -u && winetricks mdac28 && wine /biosetup/setup.exe"

⁠Running BioEdit

docker run -it \
    --rm \
    --env="DISPLAY" \
    --volume="${XAUTHORITY:-${HOME}/.Xauthority}:/root/.Xauthority:ro" \
    --volume="/tmp/.X11-unix:/tmp/.X11-unix" \
    --volume="winebioedit:/root" \
    --volume="${BIOEDIT_SETUP_FILE}:/biosetup/setup.exe:ro" \
    --device /dev/video0 \
    --device /dev/snd \
    --device /dev/dri \
    --tmpfs /dev/shm \
    -v /etc/localtime:/etc/localtime:ro \
    --hostname="$(hostname)" \
    --ipc="host" \
    --env="WINEARCH=win32" \
    --name="wine-bioedit" \
    tophatedd/docker-wine:403 wine /root/.wine/drive_c/BioEdit/BioEdit.exe

⁠Sources

⁠BioEdit installer crashes

Add --hostname⁠.

Add --ipc⁠.

⁠BioEdit crash

Install mdac28⁠ because of Error creating object. Assert Microsoft Data Access Components 2.1 have been properly installed.

winetricks mdac28

Within the container.

⁠ADODB connection

Downgrade to wine 4.0.3⁠ with the error message

X Error of failed request: BadValue

as the only hint.

⁠root

Sorry.
While downgrading, I switched to root and forgot about it.

Tag summary

Content type

Image

Digest

Size

996.8 MB

Last updated

over 6 years ago

docker pull tophatedd/docker-wine