resolving wine build setup with pybm-build
This commit is contained in:
parent
f9009a23a5
commit
774f646bf7
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
echo Building pybm-build
|
||||
|
||||
# pybm-build build
|
||||
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -t pybm-build -f bionic-buildenv.docker .
|
||||
|
||||
# pybm-travis build
|
||||
docker build -t pybm-travis -f bionic-travis.docker .
|
||||
|
||||
# pybm-wine build
|
||||
docker build -t pybm-wine -f bionic-wine.docker .
|
|
@ -1,7 +1,8 @@
|
|||
FROM pybm-build
|
||||
|
||||
USER pool
|
||||
|
||||
RUN pip install --upgrade setuptools
|
||||
RUN pip install pycrypto
|
||||
ENV HOME /root
|
||||
|
||||
RUN mkdir $HOME/Downloads
|
||||
WORKDIR $HOME/Downloads
|
||||
|
@ -15,19 +16,22 @@ ENV PATH $HOME/.local/bin:$PATH
|
|||
RUN ln -s src pybitmessage
|
||||
|
||||
# 64b
|
||||
RUN xvfb-run buildscripts/winbuild.sh
|
||||
RUN xvfb-run --auto-servernum --server-num=1 buildscripts/winbuild.sh
|
||||
ENV WINEPREFIX $HOME/.wine64
|
||||
ENV WINEARCH=win64
|
||||
RUN xvfb-run wine msiexec -i $HOME/Downloads/VCForPython27.msi /q /norestart
|
||||
RUN xvfb-run winetricks -q dotnet40
|
||||
RUN xvfb-run wine pip install wheel
|
||||
RUN xvfb-run wine python setup.py test
|
||||
RUN xvfb-run --auto-servernum --server-num=1 wine msiexec -i $HOME/Downloads/VCForPython27.msi /q /norestart
|
||||
RUN xvfb-run --auto-servernum --server-num=1 winetricks -q dotnet40
|
||||
RUN xvfb-run --auto-servernum --server-num=1 wine pip install wheel
|
||||
RUN xvfb-run --auto-servernum --server-num=1 wine python setup.py test
|
||||
|
||||
# 32b
|
||||
RUN xvfb-run i386 buildscripts/winbuild.sh
|
||||
RUN xvfb-run --auto-servernum --server-num=2 i386 buildscripts/winbuild.sh
|
||||
ENV WINEPREFIX $HOME/.wine32
|
||||
ENV WINEARCH=wine32
|
||||
RUN xvfb-run i386 wine msiexec -i $HOME/Downloads/VCForPython27.msi /q /norestart
|
||||
RUN xvfb-run i386 winetricks -q dotnet40
|
||||
RUN xvfb-run i386 wine pip install wheel
|
||||
RUN xvfb-run i386 wine python setup.py test
|
||||
RUN xvfb-run --auto-servernum --server-num=3 i386 wine msiexec -i $HOME/Downloads/VCForPython27.msi /q /norestart
|
||||
RUN xvfb-run --auto-servernum --server-num=4 i386 winetricks -q dotnet40
|
||||
RUN xvfb-run --auto-servernum --server-num=5 i386 wine pip install wheel
|
||||
RUN xvfb-run --auto-servernum --server-num=6 i386 wine python setup.py test
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue