1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00

Merge pull request #1 from vimagick/wine

add wine
This commit is contained in:
Kev++ 2015-08-14 13:06:56 +08:00
commit d5ac6a907c
2 changed files with 38 additions and 0 deletions

25
wine/Dockerfile Normal file
View File

@ -0,0 +1,25 @@
#
# Dockerfile for wine
#
FROM jess/wine
MAINTAINER kev <noreplay@datageek.info>
ADD Songti.ttc /usr/share/fonts/
RUN apt-get update
RUN apt-get install -y locales libfontconfig1 libfreetype6 fontconfig libicu52
RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
RUN echo 'zh_CN.UTF-8 UTF-8' >> /etc/locale.gen
RUN locale-gen
RUN fc-cache -v -f
RUN useradd -m -s /bin/bash wine
ENV HOME /home/wine
ENV LANG en_US.UTF-8
USER wine
VOLUME $HOME
WORKDIR $HOME
CMD ["bash"]

13
wine/docker-compose.yml Normal file
View File

@ -0,0 +1,13 @@
wine:
build: .
command: wine SpotifySetup.exe
user: wine
volumes:
- .:/home/wine
- /etc/localtime:/etc/localtime:ro
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=:0
devices:
- /dev/snd
- /dev/dri