From 6ce7b78f78554465b3474881f6fc5dc723314a89 Mon Sep 17 00:00:00 2001 From: ruffsl Date: Fri, 31 Mar 2023 18:47:03 +0200 Subject: [PATCH] Revert hack and use fork that fixes issues with deploy.sh - /~https://github.com/osrf/gzweb/pull/248 --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ea02c2c4492..56629964f58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -147,16 +147,13 @@ RUN apt-get install -y --no-install-recommends \ # clone gzweb ENV GZWEB_WS /opt/gzweb -RUN git clone /~https://github.com/osrf/gzweb.git $GZWEB_WS +RUN git clone --branch python3 /~https://github.com/ruffsl/gzweb.git $GZWEB_WS # build gzweb RUN cd $GZWEB_WS && . /usr/share/gazebo/setup.sh && \ GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/opt/ros/$ROS_DISTRO/share/turtlebot3_gazebo/models \ GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/opt/ros/$ROS_DISTRO/share/aws_robomaker_small_warehouse_world/models \ - xvfb-run -s "-screen 0 1280x1024x24" ./deploy.sh -m local && \ - cd http/client/assets && mkdir models && \ - find . -maxdepth 1 -type d -name "aws_*" \ - | xargs cp -r -t models/ + xvfb-run -s "-screen 0 1280x1024x24" ./deploy.sh -m local # install foxglove dependacies RUN apt-get install -y --no-install-recommends \