aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/vid
diff options
context:
space:
mode:
authorMariusz Wagner <mariusz.wagner@nokia.com>2018-09-03 12:27:27 +0200
committerMariusz Wagner <mariusz.wagner@nokia.com>2018-09-03 12:27:27 +0200
commitfc88af25dfb70c29c65c956398b5ea3acce48a91 (patch)
tree9d9ef02211bd1726d180748df6f4fc0b24a0d491 /test/csit/tests/vid
parent3403efee23c784c0dd81caa69f0d80143a72e089 (diff)
Docker file refactor
Changed base image in docker file Issue-ID: INT-642 Change-Id: I15a0ec89697322ff278039af0a94b8af3e173625 Signed-off-by: Mariusz Wagner <mariusz.wagner@nokia.com>
Diffstat (limited to 'test/csit/tests/vid')
-rw-r--r--test/csit/tests/vid/resources/simulators/SDC_simulator10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/csit/tests/vid/resources/simulators/SDC_simulator b/test/csit/tests/vid/resources/simulators/SDC_simulator
index ec67e9fec..c099787dc 100644
--- a/test/csit/tests/vid/resources/simulators/SDC_simulator
+++ b/test/csit/tests/vid/resources/simulators/SDC_simulator
@@ -1,4 +1,12 @@
-FROM python:3
+FROM alpine:latest
+
+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
ADD SDC.py /