File tree Expand file tree Collapse file tree 2 files changed +25
-6
lines changed Expand file tree Collapse file tree 2 files changed +25
-6
lines changed Original file line number Diff line number Diff line change
1
+ FROM ctumrs/ros:noetic
2
+
3
+ RUN apt-get -y update
4
+
5
+ # workaround interractive prompts during apt installations
6
+ RUN echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections
7
+ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install keyboard-configuration
8
+
9
+ # INSTALL the MRS UAV System
10
+
11
+ RUN apt-get -y install software-properties-common curl bash
12
+
13
+ RUN curl https://ctu-mrs.github.io/ppa-stable/add_ppa.sh | bash
14
+
15
+ RUN apt-get -y install ros-noetic-mrs-uav-system-full
16
+
17
+ CMD ["bash" ]
Original file line number Diff line number Diff line change 5
5
trap ' last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
6
6
trap ' echo "$0: \"${last_command}\" command failed with exit code $?' ERR
7
7
8
- git clone https://github.com/ctu-mrs/mrs_docker
9
- cd mrs_docker/recipes
8
+ # get the path to this script
9
+ MY_PATH=` dirname " $0 " `
10
+ MY_PATH=` ( cd " $MY_PATH " && pwd )`
10
11
11
- docker login --username klaxalk --password $TOKEN
12
+ cd $MY_PATH
12
13
13
- # docker build . --file docker/without_linux_setup --tag ctumrs/mrs_uav_system:latest
14
+ docker login --username klaxalk --password $TOKEN
14
15
15
16
WEEK_TAG=" ` date +%Y` _w` date +%V` "
16
17
17
- docker buildx create --name container --driver=docker-container
18
- docker buildx build . --file Dockerfile --builder container --tag ctumrs/mrs_uav_system:latest --tag ctumrs/mrs_uav_system:${WEEK_TAG} --platform=linux/amd64,linux/arm64 --push
18
+ docker buildx create --name container --driver=docker-container --use
19
+
20
+ docker buildx build . --file Dockerfile --tag ctumrs/mrs_uav_system:latest --tag ctumrs/mrs_uav_system:${WEEK_TAG} --platform=linux/amd64,linux/arm64 --push
You can’t perform that action at this time.
0 commit comments