autowarefoundation / autoware

Autoware - the world's leading open-source software project for autonomous driving
https://www.autoware.org/
Apache License 2.0
8.59k stars 2.88k forks source link

chore(docker): Refine Dockerfile's ARG usage #4648

Closed youtalk closed 2 months ago

youtalk commented 2 months ago

Description

I have standardized the ARG format in Dockerfile. This prevents issues where the command would incorrectly format as follows:

RUN source /opt/ros/"humble"/setup.bash

Additionally, I have removed duplicate instances of ARG ROS_DISTRO during this process.

Tests performed

Not applicable.

Effects on system behavior

Not applicable.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

After all checkboxes are checked, anyone who has write access can merge the PR.