De acordo com o wiki, o Docker precisa de um patch para funcionar:
Eu ainda não testei isso, mas outros tiveram sucesso com esse método.
Estou tentando criar um aplicativo python no freebsd11 e no docker
Eu instalei o docker de acordo com o link e tudo parece funcionar bem.
meu Dockerfile é como
FROM python:2-slim
CMD "sh" "-c" "echo nameserver 8.8.8.8 > /etc/resolv.conf"
COPY euvat-2.2.zip /euvat-2.2.zip
RUN pip install /euvat-2.2.zip
EXPOSE 3000
CMD ["euvat","--port=3000"]
$ docker build -t euvat .
Sending build context to Docker daemon 24.58 kB
Sending build context to Docker daemon
Step 0 : FROM python:2
---> e1857ee1f3b5
Step 1 : CMD "sh" "-c" "echo nameserver 8.8.8.8 > /etc/resolv.conf"
---> Using cache
---> 2d9ada7dbd60
Step 2 : COPY euvat-2.2.zip /euvat-2.2.zip
---> Using cache
---> a6249d4e4e11
Step 3 : RUN pip install /euvat-2.2.zip
---> Running in e3f17f197ada
Processing /euvat-2.2.zip
Collecting tornado>=3.1.1 (from euvat==2.2)
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/tornado/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/tornado/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/tornado/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/tornado/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/tornado/
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/tornado/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/tornado/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/tornado/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/tornado/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/tornado/
Could not find a version that satisfies the requirement tornado>=3.1.1 (from euvat==2.2) (from versions: )
No matching distribution found for tornado>=3.1.1 (from euvat==2.2)
jail: /bin/sh -c pip install /euvat-2.2.zip: failed
qualquer conselho muito apreciado.
De acordo com o wiki, o Docker precisa de um patch para funcionar:
Eu ainda não testei isso, mas outros tiveram sucesso com esse método.