mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-29 03:33:19 -04:00
13 lines
469 B
Plaintext
Executable File
13 lines
469 B
Plaintext
Executable File
#!/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
|