diff options
author | 2019-12-16 16:37:36 -0500 | |
---|---|---|
committer | 2019-12-17 11:35:36 -0500 | |
commit | 8d97778672f843cd79ac9862b5fe8c13ef31091f (patch) | |
tree | ade1e84445a7341ca72c48e05f343045a0e1b26d /docker/storperf-reporting | |
parent | ddc5a2888edf717ff074c272b01a6310e0d612fa (diff) |
Update to Python3
Updates to make StorPerf Python3 compatible, including pulling
in SNAPS-OO as python3.
Change-Id: Ie4e7af684bd5a1b8db086893848b1889da6308ba
JIRA: STORPERF-268
Signed-off-by: Mark Beierl <mbeierl@vmware.com>
Diffstat (limited to 'docker/storperf-reporting')
-rw-r--r-- | docker/storperf-reporting/Dockerfile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docker/storperf-reporting/Dockerfile b/docker/storperf-reporting/Dockerfile index ff28dd1..6d017ae 100644 --- a/docker/storperf-reporting/Dockerfile +++ b/docker/storperf-reporting/Dockerfile @@ -16,22 +16,22 @@ ARG ARCH=x86_64 -ARG ALPINE_VERSION=v3.6 +ARG ALPINE_VERSION=v3.10 FROM multiarch/alpine:$ARCH-$ALPINE_VERSION MAINTAINER Mark Beierl <mark.beierl@dell.com> -LABEL version="0.1" description="OPNFV Storperf Reporting Container" +LABEL version="8.0" description="OPNFV Storperf Reporting Container" ARG BRANCH=master RUN ulimit -n 1024 -RUN apk add --update python py-pip +RUN apk add --update python3=3.7.5-r1 COPY . /home/opnfv/storperf-reporting WORKDIR /home/opnfv/storperf-reporting/src -RUN pip install -r /home/opnfv/storperf-reporting/requirements.txt +RUN python3 -m pip install -r /home/opnfv/storperf-reporting/requirements.txt -CMD ["python", "app.py"] +CMD ["python3", "app.py"] EXPOSE 5000 |