aboutsummaryrefslogtreecommitdiffstats
path: root/test/functest/simulators/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/functest/simulators/Dockerfile')
-rw-r--r--test/functest/simulators/Dockerfile23
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