mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
moved repo addition to 94-ros2-src
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
echo "**** installing ros2 dev environment ****"
|
||||
if ! dpkg -l | grep gnupg > /dev/null; then
|
||||
apt-get update && apt-get install -y gnupg
|
||||
fi
|
||||
|
||||
source /etc/lsb-release
|
||||
[[ ! -f "/etc/apt/sources.list.d/ros2.list" ]] && \
|
||||
curl -sL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key | apt-key add - && \
|
||||
echo "deb http://packages.ros.org/ros2/ubuntu ${DISTRIB_CODENAME} main" \
|
||||
> /etc/apt/sources.list.d/ros2.list
|
||||
Reference in New Issue
Block a user