init
This commit is contained in:
commit
7d9d558d20
2 changed files with 38 additions and 0 deletions
29
Dockerfile
Normal file
29
Dockerfile
Normal file
|
@ -0,0 +1,29 @@
|
|||
# FROM ubuntu:23.04
|
||||
FROM scottyhardy/docker-wine
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN dpkg --add-architecture i386 \
|
||||
&& apt-get update \
|
||||
&& apt-get install -yqq --install-recommends apt-utils software-properties-common xvfb vim curl wget gnupg2
|
||||
|
||||
#RUN curl -O https://dl.winehq.org/wine-builds/winehq.key \
|
||||
# && apt-key add winehq.key \
|
||||
# && apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' \
|
||||
# && apt-get update && apt-get install -yqq --install-recommends wine-devel winetricks winbind
|
||||
|
||||
RUN useradd -m wine
|
||||
|
||||
ENV HOME="/home/wine"
|
||||
USER wine
|
||||
|
||||
ENV WINEPREFIX=/home/wine/.wine WINEARCH=win64
|
||||
|
||||
RUN wine wineboot --init \
|
||||
&& winetricks --unattended dotnet472 \
|
||||
&& winetricks win10
|
||||
|
||||
USER root
|
||||
|
||||
WORKDIR /home/wine
|
||||
|
||||
CMD ["bash"]
|
9
compose.yml
Normal file
9
compose.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
server:
|
||||
build: .
|
||||
tty: true
|
||||
stdin_open: true
|
||||
volumes:
|
||||
- "./data:/home/wine/server"
|
Loading…
Reference in a new issue