Container image arm64 support 91/79091/2
authorSimon Hrabos <simon.hrabos@tieto.com>
Mon, 25 Feb 2019 09:36:42 +0000 (10:36 +0100)
committerSimon Hrabos <simon.hrabos@tieto.com>
Tue, 26 Feb 2019 08:19:27 +0000 (08:19 +0000)
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>
tests/vid/resources/simulators/Dockerfile

index 5aa1392..ace6d56 100644 (file)
@@ -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/ /