forked from Daffan/the-barn-challenge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Singularityfile.def
31 lines (25 loc) · 938 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
%files
. /jackal_ws/src/nav-competition-icra2022
%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
pip3 install defusedxml rospkg netifaces numpy
cd /jackal_ws/src
git clone https://github.com/jackal/jackal.git --branch melodic-devel
git clone https://github.com/jackal/jackal_simulator.git --branch melodic-devel
git clone https://github.com/jackal/jackal_desktop.git --branch melodic-devel
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"