blob: 82bc83fa23c89dbc38bd8acc00c65b2688b4ba27 [file] [log] [blame]
Rohan Patele19624e2019-11-11 16:30:46 -05001# Copyright (c) 2019 AT&T Intellectual Property. #
2# #
3# Licensed under the Apache License, Version 2.0 (the "License"); #
4# you may not use this file except in compliance with the License. #
5# You may obtain a copy of the License at #
6# #
7# http://www.apache.org/licenses/LICENSE-2.0 #
8# #
9# Unless required by applicable law or agreed to in writing, software #
10# distributed under the License is distributed on an "AS IS" BASIS, #
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
12# See the License for the specific language governing permissions and #
13# limitations under the License. #
14################################################################################
15
Rohan Patelf49bd1e2019-09-23 15:04:19 -040016FROM python:2.7
17
Rohan Patel6f7e46b2019-09-25 14:35:28 -040018# ARG HTTP_PROXY="localhost:8080"
19# ARG HTTPS_PROXY="localhost:8080"
20# ARG http_proxy="localhost:8080"
21# ARG https_proxy="localhost:8080"
22
23
24ENV NAMESPACE=namespace
25ENV APP_NAME=otf-ping-test-head
26ENV APP_VERSION=1.0
Rohan Patelf49bd1e2019-09-23 15:04:19 -040027
28RUN python --version
29
30ADD pip-requirements.txt pip-requirements.txt
31ADD otfPingTestHead.py otfPingTestHead.py
32
33RUN mkdir -p /otf/logs
34
35RUN python -m pip install -r pip-requirements.txt
36
37ENTRYPOINT ["python", "otfPingTestHead.py"]