Commit 43f3c479 authored by Eric Duminil's avatar Eric Duminil
Browse files

extracting and installing

parent 9db22544
......@@ -14,6 +14,7 @@ ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ENV WEB_AUDIO=0
ENV WINEARCH=win32
ENV WINEPREFIX=/opt/wine
################################################################################
# Install third party apps, and dark theme #
......@@ -37,6 +38,8 @@ RUN dpkg --add-architecture i386 \
fonts-wine \
fonts-liberation \
fonts-freefont-ttf \
xvfb \
innoextract \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
################################################################################
......@@ -62,5 +65,14 @@ RUN dpkg --add-architecture i386 \
# rm -rf /var/lib/apt/lists/* && \
# apt-get clean
COPY rootfs/ /
RUN mkdir -p "$WINEPREFIX" && \
xvfb-run sh -c 'wineboot --init && wineserver -w' && \
innoextract -d /tmp/casanova /opt/CASAnova_Setup.exe && \
mkdir -p "$WINEPREFIX/drive_c/Program Files (x86)" && \
mv /tmp/casanova/app "$WINEPREFIX/drive_c/Program Files (x86)/CASAnova" && \
rm -rf /tmp/casanova && \
chown -R 1000:1000 "$WINEPREFIX"
# It's a lie. Sun will launch Spyder
# RUN ln /opt/conda/bin/spyder /usr/local/bin/wine
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment