I've changed and now using pip. It still fails and asking for a compiler 
for cryptography.

Here is my new Dockerfile:

FROM debian:8
MAINTAINER Ovidiu-Florin Bogdan (ovidiu.bog...@foo.com)

ENV DEBIAN_FRONTEND noninteractive

RUN apt update && apt install -y \
    patch \
    subversion \
    memcached \
    ca-certificates
RUN apt update && apt install -y \
    python-setuptools \
    python-dev \
    python-mysqldb \
    python-svn

RUN easy_install -U setuptools
RUN easy_install pip
RUN pip install python-memcached
RUN pip install mysql-python
RUN pip install ReviewBoard

And here is the log for installing ReviewBoard with pip:

Step 10 : RUN pip install ReviewBoard
 ---> Running in 1e455a9e7d35
Collecting ReviewBoard
  Downloading ReviewBoard-2.5.6.1-py2-none-any.whl (7.6MB)
Collecting mimeparse>=0.1.3 (from ReviewBoard)
  Downloading mimeparse-0.1.3.tar.gz
Collecting pytz (from ReviewBoard)
  Downloading pytz-2016.4-py2.py3-none-any.whl (480kB)
Collecting docutils (from ReviewBoard)
  Downloading docutils-0.12.tar.gz (1.6MB)
Collecting Pygments>=2.1 (from ReviewBoard)
  Downloading Pygments-2.1.3-py2.py3-none-any.whl (755kB)
Collecting django-evolution<=0.7.999,>=0.7.6 (from ReviewBoard)
  Downloading django_evolution-0.7.6-py2-none-any.whl (89kB)
Collecting Django<1.7,>=1.6.11 (from ReviewBoard)
  Downloading Django-1.6.11-py2.py3-none-any.whl (6.7MB)
Collecting recaptcha-client (from ReviewBoard)
  Downloading recaptcha-client-1.0.6.tar.gz
Collecting python-dateutil==1.5 (from ReviewBoard)
  Downloading python-dateutil-1.5.tar.gz (233kB)
Collecting django-multiselectfield (from ReviewBoard)
  Downloading django-multiselectfield-0.1.3.tar.gz
Requirement already satisfied (use --upgrade to upgrade): python-memcached 
in /usr/local/lib/python2.7/dist-packages (from ReviewBoard)
Collecting django-haystack<=2.4.999,>=2.3.1 (from ReviewBoard)
  Downloading django_haystack-2.4.1-py2-none-any.whl (95kB)
Collecting Whoosh>=2.6 (from ReviewBoard)
  Downloading Whoosh-2.7.4-py2.py3-none-any.whl (468kB)
Collecting Djblets<=0.9.999,>=0.9.3 (from ReviewBoard)
  Downloading Djblets-0.9.3-py2-none-any.whl (584kB)
Collecting paramiko>=1.12 (from ReviewBoard)
  Downloading paramiko-2.0.1-py2.py3-none-any.whl (171kB)
Collecting pycrypto>=2.6 (from ReviewBoard)
  Downloading pycrypto-2.6.1.tar.gz (446kB)
Collecting markdown<2.4.999,>=2.4.0 (from ReviewBoard)
  Downloading Markdown-2.4.1.tar.gz (279kB)
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.0 in /usr
/local/lib/python2.7/dist-packages (from python-memcached->ReviewBoard)
Collecting pillowfight (from Djblets<=0.9.999,>=0.9.3->ReviewBoard)
  Downloading pillowfight-0.2.tar.gz
Collecting feedparser>=5.1.2 (from Djblets<=0.9.999,>=0.9.3->ReviewBoard)
  Downloading feedparser-5.2.1.zip (1.2MB)
Collecting django-pipeline<1.3.9999,>=1.3.23 (from Djblets<=0.9.999,>=0.9.3
->ReviewBoard)
  Downloading django_pipeline-1.3.27-py2.py3-none-any.whl
Collecting pyasn1>=0.1.7 (from paramiko>=1.12->ReviewBoard)
  Downloading pyasn1-0.1.9-py2.py3-none-any.whl
Collecting cryptography>=1.1 (from paramiko>=1.12->ReviewBoard)
  Downloading cryptography-1.4.tar.gz (399kB)
Collecting Pillow (from pillowfight->Djblets<=0.9.999,>=0.9.3->ReviewBoard)
  Downloading Pillow-3.2.0.zip (10.5MB)
Collecting futures>=2.1.3 (from django-pipeline<1.3.9999,>=1.3.23->Djblets<=
0.9.999,>=0.9.3->ReviewBoard)
  Downloading futures-3.0.5-py2-none-any.whl
Collecting idna>=2.0 (from cryptography>=1.1->paramiko>=1.12->ReviewBoard)
  Downloading idna-2.1-py2.py3-none-any.whl (54kB)
Requirement already satisfied (use --upgrade to upgrade): setuptools>=11.3 
in /usr/local/lib/python2.7/dist-packages/setuptools-23.1.0-py2.7.egg (from 
cryptography>=1.1->paramiko>=1.12->ReviewBoard)
Collecting enum34 (from cryptography>=1.1->paramiko>=1.12->ReviewBoard)
  Downloading enum34-1.1.6-py2-none-any.whl
Collecting ipaddress (from cryptography>=1.1->paramiko>=1.12->ReviewBoard)
  Downloading ipaddress-1.0.16-py27-none-any.whl
Collecting cffi>=1.4.1 (from cryptography>=1.1->paramiko>=1.12->ReviewBoard)
  Downloading cffi-1.7.0.tar.gz (400kB)
    Complete output from command python setup.py egg_info:
    unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
    unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
    
        No working compiler found, or bogus compiler options
        passed to the compiler from Python's distutils module.
        See the error messages above.
        (If they are about -mno-fused-madd and you are on OS/X 10.8,
        see http://stackoverflow.com/questions/22313407/ .)
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in 
/tmp/pip-build-RCxOcQ/cffi/
The command '/bin/sh -c pip install ReviewBoard' returned a non-zero code: 1

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to