-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
15899e0
commit c7ab80f
Showing
9 changed files
with
58 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
FROM ros:humble | ||
|
||
# Install necessary and useful packages | ||
RUN apt update && \ | ||
apt install --no-install-recommends -y \ | ||
ssh \ | ||
vim \ | ||
python3-pip \ | ||
python3-vcstool \ | ||
python3-catkin-tools \ | ||
wget \ | ||
git | ||
|
||
# Creating working spaces directory and clone s_graphs inside it | ||
RUN mkdir -p /root/workspaces | ||
WORKDIR /root/workspaces | ||
RUN git clone https://github.com/snt-arg/lidar_s_graphs.git -b feature/ros2 s_graphs | ||
|
||
# Fetching all packages specified in the .rosinstall file and running build everything with colcon build. | ||
WORKDIR /root/workspaces/s_graphs | ||
RUN git submodule update --init --recursive | ||
WORKDIR /root/workspaces/s_graphs | ||
RUN sudo apt install python3-rosdep | ||
RUN rosdep install --from-paths . -y --ignore-src -r | ||
SHELL ["/bin/bash", "-c"] | ||
RUN source /opt/ros/humble/setup.bash && \ | ||
colcon build --symlink-install | ||
|
||
# Install mprocs | ||
WORKDIR /root | ||
RUN wget https://github.com/pvolok/mprocs/releases/download/v0.6.4/mprocs-0.6.4-linux64.tar.gz | ||
RUN tar -xf mprocs* && \ | ||
rm mprocs*.tar.gz && \ | ||
mv mprocs /usr/local/bin | ||
|
||
# alias for mprocs | ||
RUN echo "alias mprocs_real='mprocs -c /root/workspaces/s_graphs/.real_mprocs.yaml'" >> /root/.bashrc | ||
RUN echo "alias mprocs_virtual='mprocs -c /root/workspaces/s_graphs/.virtual_mprocs.yaml'" >> /root/.bashrc |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.