MiNode/.buildbot/ubuntu/Dockerfile

20 lines
634 B
Docker

FROM ubuntu:focal
RUN apt-get update
RUN apt-get install -yq --no-install-suggests --no-install-recommends \
python3-dev python3-pip python3.9 python3.9-dev python3.9-venv
RUN apt-get install -yq --no-install-suggests --no-install-recommends \
software-properties-common build-essential libcap-dev libffi-dev \
libssl-dev python-all-dev python-setuptools python-six git
RUN python3.9 -m pip install setuptools wheel
RUN python3.9 -m pip install --upgrade pip tox virtualenv
RUN git clone https://github.com/Bitmessage/PyBitmessage.git
RUN cd PyBitmessage; python2 setup.py install; python3 setup.py install
ADD . .