From 722de7699924c2bd947e9ea8bec44ff933088071 Mon Sep 17 00:00:00 2001 From: marecabo <23156476+marecabo@users.noreply.github.com> Date: Sat, 22 May 2021 14:20:53 +0200 Subject: [PATCH] Dockerfile: add dependencies for opp_runall invocations --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index c9a2978be..c9d31a601 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,6 +79,8 @@ RUN apt-get update && apt-get install -y \ libxerces-c3.2 \ libxml2 \ libzmq5 \ + python3 \ + make \ && rm -rf /var/lib/apt/lists/* COPY --from=omnetpp-build /omnetpp/bin /omnetpp/bin COPY --from=omnetpp-build /omnetpp/lib /omnetpp/lib @@ -89,6 +91,7 @@ COPY --from=artery-build /artery/lib /artery/lib COPY --from=artery-build /artery/share/ned /artery/share/ned ENV SUMO_HOME /sumo/share/sumo ENV PATH /sumo/bin:/omnetpp/bin:$PATH +RUN ln -s /usr/bin/python3 /usr/bin/python RUN useradd -m artery RUN mkdir -p /scenario /results && chown -R artery:users /scenario /results USER artery