diff options
Diffstat (limited to 'test/csit/tests/vid')
-rw-r--r-- | test/csit/tests/vid/resources/simulators/SDC_simulator | 10 |
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 / |