-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added support for docker (#514)
* feat: add dockerfile for ros2 workspace setup and colcon build * ci: add ci pipeline for docker image build and ros2 colcon build * refactor: dockerfile use multi-stage builds to only include necessary files * refactor: dockerfile use smaller base image to make image size smaller --------- Co-authored-by: Andreas Kluge Svendsrud <[email protected]> Co-authored-by: Anders Høgden <[email protected]>
- Loading branch information
1 parent
05d6431
commit 12787c8
Showing
7 changed files
with
52 additions
and
2 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
jobs: | ||
docker-ros: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: ika-rwth-aachen/[email protected] | ||
with: | ||
base-image: rwthika/ros2:humble | ||
target: dev # Specify the dev stage | ||
image-tag: ${{ github.ref_name }} | ||
platform: linux/arm64,linux/amd64 |
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,3 @@ | ||
[submodule "docker/docker-ros"] | ||
path = docker/docker-ros | ||
url = https://github.com/ika-rwth-aachen/docker-ros.git |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
repositories: | ||
vortex_msgs: | ||
vortex-msgs: | ||
type: git | ||
url: https://github.com/vortexntnu/vortex-msgs.git |
Submodule docker-ros
added at
85feae
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,5 @@ | ||
IMAGE="auv-image:latest" \ | ||
BASE_IMAGE="rwthika/ros2:humble" \ | ||
TARGET="dev" \ | ||
PLATFORM="linux/arm64,linux/amd64" \ | ||
./docker/docker-ros/scripts/build.sh |