From 0456e25e370f39db08d89f5da19cf805c75d9dbd Mon Sep 17 00:00:00 2001 From: Simon Hrabos Date: Mon, 25 Feb 2019 10:36:42 +0100 Subject: 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 --- tests/vid/resources/simulators/Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tests/vid') 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/ / -- cgit 1.2.3-korg