diff --git a/Dockerfile b/Dockerfile index b5b9b14..db3954b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -198,7 +198,7 @@ python3-numpy && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -#RUN cp /home/kbkn/scenario_runner/requirements.txt /tmp/ && \ + RUN pip install --upgrade setuptools wheel && \ pip install \ simple-pid \ @@ -222,7 +222,6 @@ tabulate \ networkx && \ rosdep init -# pip install -r /tmp/requirements.txt && \ USER $USERNAME WORKDIR /home/$USERNAME @@ -255,7 +254,8 @@ echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc && \ echo "alias cm='cd ~/catkin_ws;catkin_make'" >> ~/.bashrc && \ echo "alias cs='cd ~/catkin_ws/src'" >> ~/.bashrc && \ - echo "export SCENARIO_RUNNER_PATH=/home/$USERNAME/scenario_runner" >> ~/.bashrc + echo "export SCENARIO_RUNNER_PATH=/home/$USERNAME/scenario_runner" >> ~/.bashrc && \ + pip install -r /home/kbkn/scenario_runner/requirements.txt USER root WORKDIR /root