Skip to content

Commit

Permalink
Updated dockerfiles and actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiopaniego committed Oct 5, 2023
1 parent c4dab3f commit 3d11436
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .docker/noetic/Dockerfile-cuda11
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ RUN pip install PyQt5==5.14.1 --upgrade --ignore-installed && \
RUN cd /root/ && \
git clone -b noetic-devel https://github.com/JdeRobot/BehaviorMetrics && \
cd BehaviorMetrics && \
pip3 install -r requirements.txt && \
# pip3 install -r requirements.txt && \
pip3 install --no-deps carla_birdeye_view==1.1.1 && \
pyrcc5 -o behavior_metrics/ui/gui/resources/resources.py \
behavior_metrics/ui/gui/resources/resources.qrc

# Installing CustomRobots
RUN git clone -b noetic-devel https://github.com/JdeRobot/CustomRobots && \
cd CustomRobots/f1 && mkdir build && cd build && \
/bin/bash -c "source /opt/ros/noetic/setup.bash; \
cmake .. && make && make install;" && \
echo "source /opt/jderobot/share/jderobot/gazebo/assets-setup.sh" >> ~/.bashrc
#RUN git clone -b noetic-devel https://github.com/JdeRobot/CustomRobots && \
# cd CustomRobots/f1 && mkdir build && cd build && \
# /bin/bash -c "source /opt/ros/noetic/setup.bash; \
# cmake .. && make && make install;" && \
# echo "source /opt/jderobot/share/jderobot/gazebo/assets-setup.sh" >> ~/.bashrc

RUN echo 'alias jl="DISPLAY=:0 jupyter lab --no-browser --ip 0.0.0.0 --port 8888 --allow-root &"' >> /root/.bashrc && \
echo "alias killgazebogym='killall -9 rosout roslaunch rosmaster gzserver nodelet robot_state_publisher gzclient'" >> ~/.bashrc && \
Expand Down
12 changes: 6 additions & 6 deletions .docker/noetic/Dockerfile-gpu
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ RUN pip install PyQt5==5.14.1 --upgrade --ignore-installed && \
RUN cd /root/ && \
git clone -b noetic-devel https://github.com/JdeRobot/BehaviorMetrics && \
cd BehaviorMetrics && \
pip3 install -r requirements.txt && \
# pip3 install -r requirements.txt && \
pip3 install --no-deps carla_birdeye_view==1.1.1 && \
pyrcc5 -o behavior_metrics/ui/gui/resources/resources.py \
behavior_metrics/ui/gui/resources/resources.qrc

# Installing CustomRobots
RUN git clone -b noetic-devel https://github.com/JdeRobot/CustomRobots && \
cd CustomRobots/f1 && mkdir build && cd build && \
/bin/bash -c "source /opt/ros/noetic/setup.bash; \
cmake .. && make && make install;" && \
echo "source /opt/jderobot/share/jderobot/gazebo/assets-setup.sh" >> ~/.bashrc
#RUN git clone -b noetic-devel https://github.com/JdeRobot/CustomRobots && \
# cd CustomRobots/f1 && mkdir build && cd build && \
# /bin/bash -c "source /opt/ros/noetic/setup.bash; \
# cmake .. && make && make install;" && \
# echo "source /opt/jderobot/share/jderobot/gazebo/assets-setup.sh" >> ~/.bashrc

RUN echo 'alias jl="DISPLAY=:0 jupyter lab --no-browser --ip 0.0.0.0 --port 8888 --allow-root &"' >> /root/.bashrc && \
echo "alias killgazebogym='killall -9 rosout roslaunch rosmaster gzserver nodelet robot_state_publisher gzclient'" >> ~/.bashrc && \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate_docker_10_1_cudnn7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Publish 10.1-cudnn7 Docker image
# events but only for the noetic-devel branch
on:
push:
branches: [ noetic-devel ]
branches: [ noetic-devel, issue-640 ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate_docker_cuda_11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Publish cuda 11 Docker image
# events but only for the noetic-devel branch
on:
push:
branches: [ noetic-devel ]
branches: [ noetic-devel, issue-640 ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down

0 comments on commit 3d11436

Please sign in to comment.