diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2019-02-26 15:10:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-02-26 15:10:45 +0000 |
commit | e4336c65d3d7593438cbf8a42c1c51946f8f3915 (patch) | |
tree | 8b040c9fc2f9fe2d46127906ab8dd1a25497f8a8 /tests | |
parent | 4ec946e366474f02edb3518db6022852a452bac0 (diff) | |
parent | 0456e25e370f39db08d89f5da19cf805c75d9dbd (diff) |
Merge "Container image arm64 support"
Diffstat (limited to 'tests')
-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/ / |