22 lines
430 B
Docker
22 lines
430 B
Docker
FROM pybm-build
|
|
|
|
RUN pip install --upgrade setuptools
|
|
|
|
ENV HOME /root
|
|
|
|
WORKDIR $HOME
|
|
|
|
RUN git clone https://github.com/Bitmessage/PyBitmessage
|
|
|
|
RUN apt-get -y install python-prctl g++
|
|
|
|
WORKDIR $HOME/PyBitmessage
|
|
ENV PATH $HOME/.local/bin:$PATH
|
|
|
|
RUN pip install -r requirements.txt
|
|
RUN ln -s src pybitmessage
|
|
RUN python setup.py install --user
|
|
RUN python checkdeps.py
|
|
RUN xvfb-run src/bitmessagemain.py -t
|
|
RUN python setup.py test
|