43 lines
1.3 KiB
Docker
43 lines
1.3 KiB
Docker
|
FROM pybm-build
|
||
|
|
||
|
ENV HOME /root
|
||
|
|
||
|
RUN mkdir $HOME/Downloads
|
||
|
WORKDIR $HOME/Downloads
|
||
|
RUN wget https://download.microsoft.com/download/7/9/6/796EF2E4-801B-4FC4-AB28-B59FBF6D907B/VCForPython27.msi
|
||
|
|
||
|
|
||
|
# WORKDIR $HOME
|
||
|
# RUN git clone https://github.com/Bitmessage/PyBitmessage
|
||
|
|
||
|
WORKDIR $HOME/PyBitmessage
|
||
|
ENV PATH $HOME/.local/bin:$PATH
|
||
|
# RUN ln -s src pybitmessage
|
||
|
|
||
|
# 64b
|
||
|
# RUN find $HOME -name *.msi
|
||
|
# RUN pip install cryptography
|
||
|
# RUN git clone https://github.com/mhammond/pywin32.git
|
||
|
# RUn pip install simpleai
|
||
|
# RUN python pywin32/pywin32_postinstall.py -install
|
||
|
RUN xvfb-run --auto-servernum wine msiexec -i $HOME/Downloads/VCForPython27.msi /q /norestart
|
||
|
ENV WINEPREFIX $HOME/.wine64
|
||
|
ENV WINEARCH=win64
|
||
|
RUN DISTUTILS_USE_SDK=1
|
||
|
# RUN SET MSSdk=1
|
||
|
# RUN pip install VCForPython.msi
|
||
|
RUN msiexec -i /root/Downloads/VCForPython27.msi
|
||
|
RUN xvfb-run --auto-servernum winetricks -q dotnet40
|
||
|
RUN xvfb-run --auto-servernum wine pip install wheel
|
||
|
RUN xvfb-run --auto-servernum wine python setup.py test
|
||
|
|
||
|
# 32b
|
||
|
RUN sudo xvfb-run i386 buildscripts/winbuild.sh
|
||
|
ENV WINEPREFIX $HOME/.wine32
|
||
|
ENV WINEARCH=wine32
|
||
|
RUN sudo xvfb-run i386 wine msiexec -i $HOME/Downloads/VCForPython27.msi /q /norestart
|
||
|
RUN sudo xvfb-run i386 winetricks -q dotnet40
|
||
|
RUN sudo xvfb-run i386 wine pip install wheel
|
||
|
RUN sudo xvfb-run i386 wine python setup.py test
|
||
|
|