monokrome / docker-wine

Provides wine for Docker containers.
90 stars 27 forks source link

Dockerfile broken with current Ubuntu #3

Closed troyfolger closed 9 years ago

troyfolger commented 9 years ago

The most recent ubuntu image requires a few changes to your Dockerfile. First, I had to add

RUN dpkg --add-architecture i386

... before running the apt-get commands, otherwise the wine install fails with "wine1.7 : Depends: wine1.7-i386 (= 1:1.7.34-0ubuntu1~ppa1) but it is not installable".

Then, I had to change the 'install software properties' line in the Dockerfile to:

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common && add-apt-repository -y ppa:ubuntu-wine/ppa

... and that picks up the correct software-properties package.

Finally, to the 'purge' command needs to be updated as well:

RUN apt-get purge -y software-properties-common

see: http://askubuntu.com/questions/476895/what-do-i-do-for-dependencies-installing-wine1-7-on-14-04 https://github.com/phusion/baseimage-docker/issues/58 https://github.com/docker/docker/issues/5383

rutsky commented 9 years ago

Hey, @troyfolger ! I have fixed mentioned issues in pending PR #2 . All except DEBIAN_FRONTEND which should be done in separate PR.

monokrome commented 9 years ago

Thanks for posting this issue, @troyfolger - and thanks again to @rutsky for creating the pull request as well. :)

Feel free to re-open the issue if you in any way feel that it hasn't been solved.