Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Docker config for carma-base to be built in ARM with ROS2 Humble for C1T #187

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

willjohnsonk
Copy link

@willjohnsonk willjohnsonk commented Mar 4, 2024

PR Details

Description

Several CARMA Docker components rely on carma-base as a base image to use when building. Since carma-base exclusively targets x86 systems with ROS1 noetic and ROS2 foxy it needs to be updated to support the Nvidia Jetson ARM computer used by C1T.

Related GitHub Issue

Related Jira Key

CF-790

Motivation and Context

Provides a Docker build process for using carma-base on ARM devices with ROS2 Humble

How Has This Been Tested?

Types of changes

  • Defect fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that cause existing functionality to change)

Checklist:

  • I have added any new packages to the sonar-scanner.properties file
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@willjohnsonk
Copy link
Author

Will need to implement a way to chose the correct carma-base image based on what system architecture is in use before this can be merged to develop

install_pkgs.sh Outdated Show resolved Hide resolved
Dockerfile Outdated
Comment on lines 146 to 148
# NOTICE: needs to be chmod +x
COPY install_pkgs.sh install_pkgs.sh
RUN ./install_pkgs.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can explicitly chmod instead of relying on the file to already have the executable bit set. See here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requires docker buildkit which is annoying, should we assume people have that?

Dockerfile Outdated Show resolved Hide resolved
install_pkgs.sh Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
@MishkaMN
Copy link
Contributor

@willjohnsonk Do we need this now? Could we close it if not needed anymore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants