deps_rocker.extensions.ros_jazzy

Submodules

Classes

RosJazzy

Adds ros-jazzy to your docker container

Package Contents

class deps_rocker.extensions.ros_jazzy.RosJazzy

Bases: deps_rocker.simple_rocker_extension.SimpleRockerExtension

Adds ros-jazzy to your docker container

name = 'ros_jazzy'
depends_on_extension = ('curl', 'git_clone', 'user')
apt_packages = ['locales', 'tzdata', 'curl', 'gnupg2', 'lsb-release', 'sudo', 'software-properties-common',...
invoke_after(cliargs)

Returns a set of extensions that this extension should be invoked after. For SimpleRockerExtension, this returns the dependencies.

_build_template_args(cliargs, empy_args=None) dict

Override to add username to template context

_determine_username() str

Determine the username that will exist inside the container.

_get_overlay_paths(username: str) tuple[str, str]

Return overlay workspace paths for the given username.

_resolve_workspace(cliargs)

Resolve workspace path using the same logic as auto extension

get_files(cliargs) dict[str, str]

Get a dict of local filenames and content to write into them

_create_unified_package_xml(workspace)

Create a unified package.xml with all dependencies from workspace packages

_create_empty_package_xml()

Create an empty package.xml when no dependencies are found

_generate_unified_package_xml(dependencies)

Generate a unified package.xml with all dependencies

get_docker_args(cliargs) str

Configure runtime environment, workspace mount, and working directory.