From 4747cc292d1070ff9bf50736fd1349d8b54dd73a Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Sun, 20 Aug 2023 15:48:49 +0200 Subject: [PATCH] added docker file --- docker/1.5 | 13 +++++++++++++ docker/build.sh | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 docker/1.5 diff --git a/docker/1.5 b/docker/1.5 new file mode 100644 index 0000000..2c2161d --- /dev/null +++ b/docker/1.5 @@ -0,0 +1,13 @@ +FROM ros:noetic + +RUN echo "build" + +# fixes prompts during apt installations +RUN echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections +RUN apt-get -y update +RUN apt-get -y install -y sudo curl + +RUN curl https://ctu-mrs.github.io/ppa-unstable/add_ppa.sh | bash +RUN apt-get -y install ros-noetic-mrs-uav-system + +CMD ["bash"] diff --git a/docker/build.sh b/docker/build.sh index 143c48d..36f4593 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -4,4 +4,4 @@ MY_PATH=`( cd "$MY_PATH" && pwd )` cd $MY_PATH -docker build -f ./without_linux_setup -t ctumrs/mrs_uav_system:latest . +docker build -f ./1.5 -t ctumrs/mrs_uav_system:1.5 .