forked from SimeonOA/FogROS2_bootcamp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile.base
31 lines (23 loc) · 1.02 KB
/
Dockerfile.base
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
FROM osrf/ros:humble-desktop
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
python3-pip nano ssh iproute2 \
gosu sudo wget ca-certificates openssl wireguard \
less bash-completion nano emacs-nox git curl unzip ros-humble-rmw-cyclonedds-cpp \
ros-humble-foxglove-bridge
ENV RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
#
# this upgrade pip to the latest version
RUN python3 -m pip install pip -U
# Enable users in the sudo group to run without password. This helps
# once logged in as a user using the entry point.
RUN echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/90-sudo-group-nopasswd
# Install AWS dep
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN unzip -q awscliv2.zip && rm awscliv2.zip
RUN ./aws/install
# Install python deps
RUN python3 -m pip install --no-cache-dir -U boto3 paramiko scp wgconfig requests
# setup entrypoint
ENV ROS_DISTRO=${ROS_DISTRO}
COPY ./ros_entrypoint.sh /
RUN chmod +x /ros_entrypoint.sh