Skip to content

Commit

Permalink
Revert hack and use fork
Browse files Browse the repository at this point in the history
that fixes issues with deploy.sh
- osrf/gzweb#248
  • Loading branch information
ruffsl committed Mar 31, 2023
1 parent 463f05e commit 6ce7b78
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 6ce7b78

Please sign in to comment.