aboutsummaryrefslogtreecommitdiffstats
path: root/tools/docker/deployment/interactive/controller/Dockerfile
blob: 3d9fca4257e7d7e2c653d6cffa1c44d794f0a685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.6
LABEL maintainer="sridhar.rao@spirent.com"

ENV GRPC_PYTHON_VERSION 1.4.0
RUN apt-get update && apt-get -y install python3-pip
RUN pip3 install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION}
RUN pip3 install paramiko
RUN pip3 install chainmap
RUN pip3 install oslo.utils
RUN pip3 install scp

WORKDIR /usr/src/app

COPY ./vsperf ./vsperf

VOLUME ["/usr/src/app/vsperf"]

CMD ["python3", "./vsperf/vsperf_controller.py"]