tests for ssl connection for PRH, AAI and DmaaP
[integration/csit.git] / tests / dcaegen2 / prh-testcases / resources / simulator / DMaaP_simulator
index 9cf21dc..40e1af0 100644 (file)
@@ -1,15 +1,6 @@
-FROM alpine:3.8
-
-RUN apk add --no-cache python3 && \
-    python3 -m ensurepip && \
-    rm -r /usr/lib/python*/ensurepip && \
-    pip3 install --upgrade pip setuptools && \
-    if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \
-    if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi && \
-       rm -r /root/.cache
+FROM python:3-alpine
 
 ADD DMaaP.py /
-
-EXPOSE 2222
+COPY certs/* /certs/
 
 CMD [ "python", "./DMaaP.py" ]