make ansible container backward compatible
Due to failure on docker-compose in APPC heat
and k8s in APPC pod. I made this change backward
compatible
Change-Id: I9f4bb7b4a6d75cfdc7e3272b3382474342fb142c
Issue-ID: APPC-1441
Signed-off-by: Taka Cho <takamune.cho@att.com>
diff --git a/ansible-server/src/main/Dockerfile b/ansible-server/src/main/Dockerfile
index e0abb04..4a9c414 100644
--- a/ansible-server/src/main/Dockerfile
+++ b/ansible-server/src/main/Dockerfile
@@ -7,7 +7,9 @@
COPY ansible-server/requirements.txt ansible-server/requirements.txt
-RUN apk add --no-cache py2-pip \
+RUN apk add --no-cache curl \
+ bash \
+ py2-pip \
python2 &&\
apk add --no-cache --virtual .build-deps build-base \
libffi-dev \
@@ -26,4 +28,4 @@
EXPOSE 8000
-ENTRYPOINT ["python2", "RestServer.py"]
+##ENTRYPOINT ["python2", "RestServer.py"]