Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
84 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM debian:stretch | ||
|
||
ENV LANG C.UTF-8 | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV CI true | ||
|
||
RUN useradd -ms /bin/bash user | ||
|
||
WORKDIR /home/user | ||
|
||
RUN dpkg --add-architecture i386 | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install --no-install-recommends -y \ | ||
wine wine32 xvfb xauth \ | ||
wget ca-certificates \ | ||
p7zip-full | ||
|
||
USER user | ||
|
||
RUN wget https://bitbucket.org/lazka/quodlibet/downloads/quodlibet-latest-installer.exe -O win-inst.exe | ||
|
||
RUN 7z x -o_win_inst win-inst.exe | ||
|
||
ENV WINEPREFIX /home/user/_wineprefix | ||
ENV WINEDEBUG -all | ||
|
||
RUN echo '#!/bin/bash\n(rm -Rf "$WINEPREFIX" && xvfb-run -a wine /home/user/_win_inst/bin/python.exe "$@")' > python2 | ||
|
||
RUN chmod a+x python2 | ||
|
||
ENV PATH /home/user:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM debian:stretch | ||
|
||
ENV LANG C.UTF-8 | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV CI true | ||
|
||
RUN useradd -ms /bin/bash user | ||
|
||
WORKDIR /home/user | ||
|
||
RUN dpkg --add-architecture i386 | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install --no-install-recommends -y \ | ||
wine wine32 xvfb xauth \ | ||
wget ca-certificates \ | ||
p7zip-full | ||
|
||
USER user | ||
|
||
RUN wget https://bitbucket.org/lazka/quodlibet/downloads/quodlibet-latest-installer-py3.exe -O win-inst.exe | ||
|
||
RUN 7z x -o_win_inst win-inst.exe | ||
|
||
ENV WINEPREFIX /home/user/_wineprefix | ||
ENV WINEDEBUG -all | ||
|
||
RUN echo '#!/bin/bash\n(rm -Rf "$WINEPREFIX" && xvfb-run -a wine /home/user/_win_inst/bin/python3.exe "$@")' > python3 | ||
|
||
RUN chmod a+x python3 | ||
|
||
ENV PATH /home/user:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters