Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ojh6404 committed Jul 25, 2024
1 parent bc50217 commit d949fdd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deep_vision_ros/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,14 @@ ENV PATH="$PATH:$HOME/.local/bin"
# Installing catkin package
RUN mkdir -p ~/catkin_ws/src
RUN sudo rosdep init && rosdep update && sudo apt update
RUN git config --global http.version HTTP/1.1
RUN git config --global http.postBuffer 524288000 # Set a larger buffer size
RUN git config --global core.compression 0 # Disable compression
RUN git clone https://github.com/ojh6404/deep_vision_ros.git ~/catkin_ws/src
RUN cd ~/catkin_ws/src/ &&\
source /opt/ros/noetic/setup.bash &&\
rosdep install --from-paths . -i -r -y &&\
cd ~/catkin_ws/src/deep_vision_ros && ./prepare.sh &&\
python3.9 -m pip install -r requirements.txt &&\
cd ~/catkin_ws && catkin init && catkin build &&\
rm -rf ~/.cache/pip

Expand Down

0 comments on commit d949fdd

Please # to comment.