added updated dockerfiles and ric workflow
[it/otf.git] / otf-robot-test-head / Dockerfile
index 7358b21..3c481e0 100644 (file)
@@ -1,9 +1,34 @@
+#   Copyright (c) 2019 AT&T Intellectual Property.                             #\r
+#                                                                              #\r
+#   Licensed under the Apache License, Version 2.0 (the "License");            #\r
+#   you may not use this file except in compliance with the License.           #\r
+#   You may obtain a copy of the License at                                    #\r
+#                                                                              #\r
+#       http://www.apache.org/licenses/LICENSE-2.0                             #\r
+#                                                                              #\r
+#   Unless required by applicable law or agreed to in writing, software        #\r
+#   distributed under the License is distributed on an "AS IS" BASIS,          #\r
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #\r
+#   See the License for the specific language governing permissions and        #\r
+#   limitations under the License.                                             #\r
+################################################################################\r
+\r
 FROM python:2.7\r
 \r
-ARG HTTP_PROXY="http://localhost:8080" \r
-ARG HTTPS_PROXY="http://localhost:8080" \r
-ARG http_proxy="http://localhost:8080" \r
-ARG https_proxy="http://localhost:8080"\r
+# ARG HTTP_PROXY="http://localhost:8080" \r
+# ARG HTTPS_PROXY="http://localhost:8080" \r
+# ARG http_proxy="http://localhost:8080" \r
+# ARG https_proxy="http://localhost:8080"\r
+\r
+ENV NAMESPACE=namespace\r
+ENV APP_NAME=otf-robot-test-head\r
+ENV APP_VERSION=1.0\r
+ENV OTF_MONGO_HOSTS=localhost:27017/\r
+ENV OTF_MONGO_DATABASE=otf\r
+ENV OTF_MONGO_REPLICASET=rs0\r
+ENV OTF_MONGO_USERNAME=username\r
+ENV OTF_MONGO_PASSWORD=password\r
+ENV APP_SETTINGS=app.configuration.DevelopmentConfiguration\r
 \r
 RUN python --version\r
 \r