-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #497 from una-auxme/420-feature-execute-catkin_mak…
…e-on-docker-compose-up 420 feature execute catkin make on docker compose up
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Run 'catkin_make' in docker container. Choose container from list of running containers.", | ||
"type": "shell", | ||
"command": "docker exec -it ${input:container_name} bash -c 'cd ../../catkin_ws && source /opt/ros/noetic/setup.bash && bash devel/setup.bash && catkin_make'", | ||
"problemMatcher": [], | ||
"detail": "Executes 'catkin_make' selected container. Requires Tasks Shell Input Extension, in order to generate the list of containers.", | ||
} | ||
], | ||
"inputs": [ | ||
{ | ||
"id": "container_name", | ||
"type": "command", | ||
"command": "shellCommand.execute", | ||
"args": { | ||
"command": "docker ps --format '{{.Names}}'", | ||
} | ||
} | ||
] | ||
} |