Additional environment vars
This commit is contained in:
parent
44f9d1dd2a
commit
f1d6d516d1
@ -10,7 +10,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y xserver-
|
||||
#Vulkan
|
||||
RUN apt-get update && apt-get install -y libvulkan1 mesa-vulkan-drivers vulkan-utils mesa-utils && rm -rf /var/lib/apt/lists/*
|
||||
#Utils
|
||||
RUN apt-get update && apt-get install -y git ninja-build git bash-completion && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y git ninja-build git bash-completion clangd-12 && rm -rf /var/lib/apt/lists/*
|
||||
#Rosdeps
|
||||
RUN apt-get update && apt-get install -y git ros-galactic-ament-cmake ros-galactic-moveit ros-galactic-behaviortree-cpp-v3 ros-galactic-ros-ign-gazebo && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
@ -30,7 +30,10 @@ fi
|
||||
|
||||
echo "ros:ros" | chpasswd
|
||||
su ros -c "printf 'source /opt/ros/$ROS_DISTRO/setup.bash\nsource /home/ros/workspace/install/setup.bash' > ~/.rosrc"
|
||||
printf "DISPLAY=$DISPLAY" > /etc/profile.d/display.sh
|
||||
printf "export DISPLAY=$DISPLAY" > /etc/profile.d/display.sh
|
||||
printf "export XAUTHORITY=$XAUTHORITY" > /etc/profile.d/xauth.sh
|
||||
chmod +x /etc/profile.d/display.sh
|
||||
chmod +x /etc/profile.d/xauth.sh
|
||||
|
||||
echo "Ready to connect."
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user