-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
37 lines (30 loc) · 877 Bytes
/
Dockerfile
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
32
33
34
35
36
37
FROM ros:humble
# Dist upgrade - https://github.com/ros2/rosidl/issues/680#issuecomment-1125188129
RUN apt-get update && \
apt dist-upgrade -y && \
apt-get install -y --no-install-recommends \
python-is-python3 \
libopencv-dev \
python3-opencv \
libboost-all-dev \
openssl \
git \
gdb \
i2c-tools \
libcurl4-openssl-dev \
libssl-dev \
curl \
ros-humble-imu-tools \
ros-humble-teleop-twist-joy \
libi2c-dev \
ros-humble-image-transport
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
ENV NVM_DIR /root/.nvm
ENV NODE_VERSION 20.10.0
# install node and npm
RUN . $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION \
&& nvm alias default $NODE_VERSION \
&& nvm use default
ENTRYPOINT ["./ros_entrypoint.sh"]
CMD [ "bash" ]