-
Notifications
You must be signed in to change notification settings - Fork 6
/
Singularityfile.def
31 lines (26 loc) · 936 Bytes
/
Singularityfile.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Bootstrap: docker
From: ros:melodic
%setup
mkdir -p ${SINGULARITY_ROOTFS}/jackal_ws/src
cd ${SINGULARITY_ROOTFS}/jackal_ws/src
git clone https://github.com/Daffan/ros_jackal.git
%post -c /bin/bash
apt -y update; apt-get -y install python3-venv
python3 -m venv /venv
export PATH="/venv/bin:$PATH"
pip3 install --upgrade pip
cd ${SINGULARITY_ROOTFS}/jackal_ws/src/ros_jackal
pip3 install -r requirements.txt
cd ..
git clone https://github.com/jackal/jackal.git
git clone https://github.com/jackal/jackal_simulator.git
git clone https://github.com/jackal/jackal_desktop.git
git clone https://github.com/utexas-bwi/eband_local_planner.git
source /opt/ros/melodic/setup.bash
cd ..
rosdep init; rosdep update
rosdep install -y --from-paths . --ignore-src --rosdistro=melodic
source devel/setup.bash
catkin_make
%environment
export PATH="/venv/bin:$PATH"