diff options
author | Simon Hrabos <simon.hrabos@tieto.com> | 2019-02-25 10:36:42 +0100 |
---|---|---|
committer | Simon Hrabos <simon.hrabos@tieto.com> | 2019-02-26 08:19:27 +0000 |
commit | 0456e25e370f39db08d89f5da19cf805c75d9dbd (patch) | |
tree | 1c18efa12e8d6ac680b28ca06256b803c25930df /tests/vid | |
parent | f681b260230c433e8795bf380e6de35fd0063048 (diff) |
Container image arm64 support
Changed unofficial alpine container image to official due to arm64 support
Change-Id: I0f84bd24686d56e77d27840ce54d5988e7034857
Issue-ID: INT-878
Signed-off-by: Simon Hrabos <simon.hrabos@tieto.com>
Diffstat (limited to 'tests/vid')
-rw-r--r-- | tests/vid/resources/simulators/Dockerfile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/vid/resources/simulators/Dockerfile b/tests/vid/resources/simulators/Dockerfile index 5aa13925..ace6d56d 100644 --- a/tests/vid/resources/simulators/Dockerfile +++ b/tests/vid/resources/simulators/Dockerfile @@ -1,4 +1,12 @@ -FROM frolvlad/alpine-python3 +FROM alpine:3.9 + +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 COPY SO.py / ADD ./test_data_assets/ / |