Rohan Patel | a99e574 | 2019-09-23 15:04:19 -0400 | [diff] [blame] | 1 | FROM python:2.7
|
| 2 |
|
Rohan Patel | 5f5c7ec | 2019-09-25 14:35:28 -0400 | [diff] [blame] | 3 | # 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 |
|
| 9 | ENV NAMESPACE=namespace
|
| 10 | ENV APP_NAME=otf-ping-test-head
|
| 11 | ENV APP_VERSION=1.0
|
Rohan Patel | a99e574 | 2019-09-23 15:04:19 -0400 | [diff] [blame] | 12 |
|
| 13 | RUN python --version
|
| 14 |
|
| 15 | ADD pip-requirements.txt pip-requirements.txt
|
| 16 | ADD otfPingTestHead.py otfPingTestHead.py
|
| 17 |
|
| 18 | RUN mkdir -p /otf/logs
|
| 19 |
|
| 20 | RUN python -m pip install -r pip-requirements.txt
|
| 21 |
|
| 22 | ENTRYPOINT ["python", "otfPingTestHead.py"]
|