From 03305daf141577dabc136dd566dc8daabd9953e6 Mon Sep 17 00:00:00 2001 From: Oguz Ozturk Date: Thu, 14 Mar 2024 13:38:41 +0300 Subject: [PATCH] refine simulator dockerfile Signed-off-by: Oguz Ozturk --- .../services/simulator/Dockerfile | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/docker/autoware-openadk/services/simulator/Dockerfile b/docker/autoware-openadk/services/simulator/Dockerfile index 0cb7f6184cf..c460ecde521 100644 --- a/docker/autoware-openadk/services/simulator/Dockerfile +++ b/docker/autoware-openadk/services/simulator/Dockerfile @@ -75,25 +75,11 @@ RUN --mount=type=ssh \ RUN chmod -R 777 /autoware/install/ -# Bugfix rviz2 black-screen problem with some nvidia drivers: https://github.com/ros2/rviz/issues/948 -RUN apt update && apt install -y software-properties-common && add-apt-repository ppa:kisak/kisak-mesa && apt install -y \ - libegl-mesa0 libegl1-mesa-dev libgbm-dev libgbm1 libgl1-mesa-dev libgl1-mesa-dri libglapi-mesa libglx-mesa0 +# Copy bash aliases for simulation +# TO-DO # Create entrypoint -# hadolint ignore=DL3059 COPY docker/autoware-openadk/etc/ros_entrypoint.sh /ros_entrypoint.sh RUN chmod +x /ros_entrypoint.sh - -# Copy simulation files -RUN mkdir -p /autoware/scenario-sim -COPY docker/autoware-openadk/etc/simulation/ /autoware/scenario-sim/ - -# Copy bash aliases -COPY docker/autoware-openadk/services/simulator/.bash_aliases /root/.bash_aliases - -# Create entrypoint -# hadolint ignore=DL3059 -RUN echo "source /autoware/install/setup.bash" > /etc/bash.bashrc - ENTRYPOINT ["/ros_entrypoint.sh"] CMD ["bash"] \ No newline at end of file