mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-14 11:23:02 +02:00
commit
d5ac6a907c
25
wine/Dockerfile
Normal file
25
wine/Dockerfile
Normal 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
13
wine/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user