VScode dev container work
This commit is contained in:
parent
0692568e5b
commit
dac7602363
17
src/.devcontainer/devcontainer.json
Normal file
17
src/.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "ros1-catkit-devcontainer",
|
||||
"dockerFile": "../Dockerfile",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
// List of extensions to install in the dev container
|
||||
],
|
||||
"settings": {
|
||||
// Additional settings for the dev container
|
||||
}
|
||||
}
|
||||
},
|
||||
"forwardPorts": [
|
||||
],
|
||||
"postCreateCommand": "/bin/bash -c 'source /opt/ros/noetic/setup.bash && catkin_make install'"
|
||||
}
|
12
src/.vscode/tasks.json
vendored
Normal file
12
src/.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Update templates ",
|
||||
"type": "shell",
|
||||
"command": "find .copier/ -type f -exec copier update --skip-answered -a {} \\;"
|
||||
}
|
||||
]
|
||||
}
|
@ -11,7 +11,7 @@ RUN apt-get install --yes python3-rosdep python3-rosinstall python3-rosinstall-g
|
||||
WORKDIR /root/catkin_ws/src
|
||||
|
||||
{% if SOURCE.startswith("git+") %}
|
||||
RUN git clone https://github.com/ros-drivers/video_stream_opencv.git
|
||||
RUN git clone {{source}}
|
||||
{% elif source %}
|
||||
COPY {{SOURCE}} .
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user