From 85b8734415ef78483b41f4847650a516fcee88c3 Mon Sep 17 00:00:00 2001 From: GuelaKais <koroyeldiores@gmail.com> Date: Tue, 17 Oct 2023 09:00:36 +0200 Subject: [PATCH] example buildscript for lazy usage --- Dockerfile | 17 +++++++++++++++++ buildScript.sh | 1 + entrypoint.sh | 0 3 files changed, 18 insertions(+) create mode 100644 Dockerfile create mode 100644 buildScript.sh create mode 100644 entrypoint.sh diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bd9893c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# This is an auto generated Dockerfile for ros:desktop-full +# generated from docker_images_ros2/create_ros_image.Dockerfile.em +FROM osrf/ros:humble-desktop-jammy + +# install ros2 packages +RUN apt-get update && apt-get install -y --no-install-recommends \ + ros-humble-desktop-full=0.10.0-1* \ + && rm -rf /var/lib/apt/lists/* +RUN apt update -y && apt upgrade -y +RUN apt install software-properties-common -y +RUN add-apt-repository universe +RUN apt install ros-humble-navigation2 -y +RUN apt install ros-humble-nav2-bringup -y +RUN apt install ros-humble-turtlebot3-gazebo -y +RUN apt install ros-humble-robot-localization -y + +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -y | sh diff --git a/buildScript.sh b/buildScript.sh new file mode 100644 index 0000000..fc35906 --- /dev/null +++ b/buildScript.sh @@ -0,0 +1 @@ +docker build -t "MAMUT:Dockerfile" . diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..e69de29 -- GitLab