blob: 182eaa4bc76aa0ad791cf081fb40668825428505 [file] [log] [blame]
Rohan Patela99e5742019-09-23 15:04:19 -04001FROM python:2.7
2
Rohan Patel5f5c7ec2019-09-25 14:35:28 -04003# ARG HTTP_PROXY="localhost:8080"
4# ARG HTTPS_PROXY="localhost:8080"
5# ARG http_proxy="localhost:8080"
6# ARG https_proxy="localhost:8080"
7
8
9ENV NAMESPACE=namespace
10ENV APP_NAME=otf-ping-test-head
11ENV APP_VERSION=1.0
Rohan Patela99e5742019-09-23 15:04:19 -040012
13RUN python --version
14
15ADD pip-requirements.txt pip-requirements.txt
16ADD otfPingTestHead.py otfPingTestHead.py
17
18RUN mkdir -p /otf/logs
19
20RUN python -m pip install -r pip-requirements.txt
21
22ENTRYPOINT ["python", "otfPingTestHead.py"]