forked from Dsobh/Humble-Noetic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·32 lines (24 loc) · 1.08 KB
/
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
FROM ubuntu:latest
USER root
ARG DEBIAN_FRONTEND=noninteractive
#Imports of files needed for installation
COPY ./src/install/cloneGit.sh /home/cloneGit.sh
COPY ./src/others/noetic-desktop.rosinstall /home/noetic-desktop.rosinstall
COPY ./src/others/rosconsole_log4cxx.cpp /home/rosconsole_log4cxx.cpp
COPY ./src/install/system-utils.sh /home/system-utils.sh
RUN chmod +x /home/system-utils.sh && ./home/system-utils.sh
COPY ./src/install/ros-packages.sh /home/ros-packages.sh
RUN chmod +x /home/ros-packages.sh && ./home/ros-packages.sh
#ROS2 (Humble) from packet installation
COPY ./src/install/ros2.sh /home/ros2.sh
RUN chmod +x /home/ros2.sh && ./home/ros2.sh
#Noetic from source installation
COPY ./src/install/ros1.sh /home/ros1.sh
RUN chmod +x /home/ros1.sh && ./home/ros1.sh
#Bridges installation
COPY ./src/install/bridges-install.sh /home/bridges-install.sh
RUN chmod +x /home/bridges-install.sh && ./home/bridges-install.sh
WORKDIR /root
COPY ./src/others/docker-entrypoint.sh /root/docker-entrypoint.sh
RUN chmod +x /root/docker-entrypoint.sh
ENTRYPOINT ["/root/docker-entrypoint.sh"]