Skip to content

Commit

Permalink
Merge pull request #3 from ijnek/ijnek-add-melodic-support
Browse files Browse the repository at this point in the history
add melodic support
  • Loading branch information
ijnek authored Jan 8, 2023
2 parents 6ee4e91 + 4118815 commit 60cc870
Show file tree
Hide file tree
Showing 12 changed files with 168 additions and 0 deletions.
13 changes: 13 additions & 0 deletions melodic/melodic-desktop-full/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM osrf/ros:melodic-desktop-full

# Update all packages
RUN apt update && apt upgrade -y

# Install extra packages
RUN apt install gdb -y

# Rosdep update
RUN rosdep update

# Source the ROS melodic setup file
RUN echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
14 changes: 14 additions & 0 deletions melodic/melodic-desktop-full/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"dockerFile": "Dockerfile",
"containerEnv": {
"DISPLAY": "unix:0"
},
"mounts": [
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached"
],
"runArgs": [
"--device=/dev/video0:/dev/video0:mwr",
"--network=host",
"--device=/dev/dri:/dev/dri"
]
}
13 changes: 13 additions & 0 deletions melodic/melodic-desktop/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM osrf/ros:melodic-desktop

# Update all packages
RUN apt update && apt upgrade -y

# Install extra packages
RUN apt install gdb -y

# Rosdep update
RUN rosdep update

# Source the ROS melodic setup file
RUN echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
14 changes: 14 additions & 0 deletions melodic/melodic-desktop/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"dockerFile": "Dockerfile",
"containerEnv": {
"DISPLAY": "unix:0"
},
"mounts": [
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached"
],
"runArgs": [
"--device=/dev/video0:/dev/video0:mwr",
"--network=host",
"--device=/dev/dri:/dev/dri"
]
}
13 changes: 13 additions & 0 deletions melodic/melodic-perception/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ros:melodic-perception

# Update all packages
RUN apt update && apt upgrade -y

# Install extra packages
RUN apt install gdb -y

# Rosdep update
RUN rosdep update

# Source the ROS melodic setup file
RUN echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
14 changes: 14 additions & 0 deletions melodic/melodic-perception/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"dockerFile": "Dockerfile",
"containerEnv": {
"DISPLAY": "unix:0"
},
"mounts": [
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached"
],
"runArgs": [
"--device=/dev/video0:/dev/video0:mwr",
"--network=host",
"--device=/dev/dri:/dev/dri"
]
}
13 changes: 13 additions & 0 deletions melodic/melodic-robot/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ros:melodic-robot

# Update all packages
RUN apt update && apt upgrade -y

# Install extra packages
RUN apt install gdb -y

# Rosdep update
RUN rosdep update

# Source the ROS melodic setup file
RUN echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
14 changes: 14 additions & 0 deletions melodic/melodic-robot/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"dockerFile": "Dockerfile",
"containerEnv": {
"DISPLAY": "unix:0"
},
"mounts": [
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached"
],
"runArgs": [
"--device=/dev/video0:/dev/video0:mwr",
"--network=host",
"--device=/dev/dri:/dev/dri"
]
}
13 changes: 13 additions & 0 deletions melodic/melodic-ros-base/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ros:melodic-ros-base

# Update all packages
RUN apt update && apt upgrade -y

# Install extra packages
RUN apt install gdb -y

# Rosdep update
RUN rosdep update

# Source the ROS melodic setup file
RUN echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
14 changes: 14 additions & 0 deletions melodic/melodic-ros-base/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"dockerFile": "Dockerfile",
"containerEnv": {
"DISPLAY": "unix:0"
},
"mounts": [
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached"
],
"runArgs": [
"--device=/dev/video0:/dev/video0:mwr",
"--network=host",
"--device=/dev/dri:/dev/dri"
]
}
19 changes: 19 additions & 0 deletions melodic/melodic-ros-core/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM ros:melodic-ros-core

# Update all packages
RUN apt update && apt upgrade -y

# Install extra packages
RUN apt install gdb -y

# Install dependencies not included for ROS Core Docker Images
RUN apt install build-essential -y
RUN apt install git -y
RUN apt install python3-rosdep -y

# Rosdep
RUN rosdep init
RUN rosdep update

# Source the ROS melodic setup file
RUN echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
14 changes: 14 additions & 0 deletions melodic/melodic-ros-core/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"dockerFile": "Dockerfile",
"containerEnv": {
"DISPLAY": "unix:0"
},
"mounts": [
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached"
],
"runArgs": [
"--device=/dev/video0:/dev/video0:mwr",
"--network=host",
"--device=/dev/dri:/dev/dri"
]
}

0 comments on commit 60cc870

Please sign in to comment.