Merge "Container image arm64 support"
authorGary Wu <gary.i.wu@huawei.com>
Tue, 26 Feb 2019 15:10:45 +0000 (15:10 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 26 Feb 2019 15:10:45 +0000 (15:10 +0000)
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/ /