21 lines
872 B
Docker
21 lines
872 B
Docker
FROM debian
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV WINEARCH=win32
|
|
ENV WINEPREFIX=~/.msoffice
|
|
RUN dpkg --add-architecture i386 && \
|
|
apt-get update && \
|
|
apt-get install -y wget gcc make perl && \
|
|
apt install -y software-properties-common && \
|
|
mkdir -pm755 /etc/apt/keyrings && \
|
|
wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key && \
|
|
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources && \
|
|
apt-get update && \
|
|
apt-get install -y --install-recommends winehq-stable && \
|
|
apt-get update && \
|
|
apt-get install -y winetricks winbind samba smbclient winetricks
|
|
RUN mkdir ~/.msoffice
|
|
RUN wineboot -i
|
|
RUN winetricks cmd corefonts msxml6 riched20 gdiplus
|
|
COPY /root/Nextcloud/OfficeSetup.exe /
|
|
RUN wine /OfficeSetup.exe
|