diff options
author | 2018-10-22 12:22:35 +0200 | |
---|---|---|
committer | 2018-10-22 14:20:44 +0200 | |
commit | c7abba816ad7d702a9e01e9286e7661cb13fe11f (patch) | |
tree | 29d437a78d978867b504519033fad63b38c95d08 /tests/dcaegen2/prh-testcases/resources/simulator/DMaaP_simulator | |
parent | 1344ef2dd571923b5fa40f7c0863477df59d651b (diff) |
tests for ssl connection for PRH, AAI and DmaaP
Change-Id: I503a0749f22336b35b2633d372a3ef59d6bf71c8
Issue-ID: DCAEGEN2-880
Signed-off-by: piotr.karas <piotr.karas@nokia.com>
Diffstat (limited to 'tests/dcaegen2/prh-testcases/resources/simulator/DMaaP_simulator')
-rw-r--r-- | tests/dcaegen2/prh-testcases/resources/simulator/DMaaP_simulator | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP_simulator b/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP_simulator index 9cf21dc9..40e1af09 100644 --- a/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP_simulator +++ b/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP_simulator @@ -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" ] |