diff options
author | krishna moorthy <krishna.moorthy6@wipro.com> | 2020-09-19 10:18:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-19 10:18:58 +0000 |
commit | 3014d7da4872982ea666a7bb11d8dc882bfa048c (patch) | |
tree | 9c879fe51390f92267416e9731791eec2db99409 /test/functest/simulators/Dockerfile | |
parent | edf98746a52408386efab26143778198b0efd3c5 (diff) | |
parent | cc7372eefd2cc1ec0737f765a2600396f13e13ab (diff) |
Merge "Fix osdf csit failure by fixing logging"
Diffstat (limited to 'test/functest/simulators/Dockerfile')
-rw-r--r-- | test/functest/simulators/Dockerfile | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/test/functest/simulators/Dockerfile b/test/functest/simulators/Dockerfile index ca32895..233503c 100644 --- a/test/functest/simulators/Dockerfile +++ b/test/functest/simulators/Dockerfile @@ -17,19 +17,22 @@ # ------------------------------------------------------------------------- # -FROM ubuntu:16.04 +FROM ubuntu:20.04 + +ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update -y \ - && apt-get install -y vim unzip wget libmpfr-dev \ - && apt-get install -y git libqt5printsupport5 build-essential \ - && apt-get install -y python3 python3-setuptools python3-dev \ - && easy_install3 pip \ - && pip install --upgrade virtualenv pip wheel + && apt-get install -y --no-install-recommends software-properties-common \ + curl ca-certificates vim binutils binfmt-support build-essential \ + python3 python3-setuptools python3-dev \ + && ln -s /usr/bin/python3.8 /usr/bin/python \ + && curl -s https://bootstrap.pypa.io/get-pip.py | python \ + && python -m pip --no-cache-dir install --upgrade pip wheel setuptools \ + && rm -rf /var/lib/apt/lists/* -RUN ln -s /usr/bin/python3.5 /usr/bin/python -ADD requirements.txt /requirements.txt +COPY requirements.txt /requirements.txt RUN pip install -r requirements.txt -ADD sim /sim -ADD start_sim.sh /start_sim.sh +COPY sim /sim +COPY start_sim.sh /start_sim.sh CMD ["/start_sim.sh"]
\ No newline at end of file |