diff --git a/wine/Dockerfile b/wine/Dockerfile new file mode 100644 index 0000000..3374e63 --- /dev/null +++ b/wine/Dockerfile @@ -0,0 +1,25 @@ +# +# Dockerfile for wine +# + +FROM jess/wine +MAINTAINER kev + +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"] diff --git a/wine/docker-compose.yml b/wine/docker-compose.yml new file mode 100644 index 0000000..bfdc8fb --- /dev/null +++ b/wine/docker-compose.yml @@ -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