1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
beta
This commit is contained in:
kev 2015-08-14 12:59:16 +08:00
parent ff2d0edde7
commit 033e1349d6
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