mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 16:12:29 +00:00
DockerFile
This commit is contained in:
parent
703fb68b27
commit
61deabe13e
24
Dockerfile
24
Dockerfile
@ -1,3 +1,23 @@
|
|||||||
from python:2.7-onbuild
|
from python:2.7
|
||||||
|
|
||||||
ENTRYPOINT ["python", "-m", "senpy"]
|
RUN apt-get update
|
||||||
|
RUN apt-get -y install git
|
||||||
|
RUN mkdir -p /senpy-plugins
|
||||||
|
RUN apt-get -y install python-numpy
|
||||||
|
RUN apt-get -y install build-dep python-scipy
|
||||||
|
RUN pip install --upgrade pip
|
||||||
|
|
||||||
|
ADD id_rsa /root/.ssh/id_rsa
|
||||||
|
RUN chmod 700 /root/.ssh/id_rsa
|
||||||
|
RUN echo "Host github.com\n\tStrictHostKeyChecking no\n" >> /root/.ssh/config
|
||||||
|
|
||||||
|
RUN git clone https://github.com/gsi-upm/senpy /usr/src/app/
|
||||||
|
RUN git clone git@github.com:gsi-upm/senpy-plugins-enterprise /senpy-plugins/enterprise
|
||||||
|
RUN git clone https://github.com/gsi-upm/senpy-plugins-community /senpy-plugins/community
|
||||||
|
|
||||||
|
RUN pip install /usr/src/app
|
||||||
|
RUN pip install -r /senpy-plugins/enterprise/requirements.txt
|
||||||
|
|
||||||
|
|
||||||
|
WORKDIR /senpy-plugins
|
||||||
|
ENTRYPOINT ["python", "-m", "senpy", "-f", "."]
|
||||||
|
Loading…
Reference in New Issue
Block a user