Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 11, 2024
1 parent bbc8b65 commit 54211a2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Autoware",
"image": "ghcr.io/autowarefoundation/autoware-openadk:devel-latest"
"name": "Autoware",
"image": "ghcr.io/autowarefoundation/autoware-openadk:devel-latest"

Check warning on line 3 in .devcontainer/devcontainer.json

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (openadk)

// "remoteUser": "autoware",
// "remoteUser": "autoware",
}
2 changes: 1 addition & 1 deletion ansible/playbooks/openadk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
# ONNX files and other artifacts
- role: autoware.dev_env.artifacts
when: module == 'perception-localization' or module == 'all'

# Development environment
- role: autoware.dev_env.devel
when: install_devel == 'true'
Expand Down
2 changes: 1 addition & 1 deletion docker/autoware-openadk/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ target "monorun" {
inherits = ["docker-metadata-action-monorun"]
dockerfile = "docker/autoware-openadk/Dockerfile"
target = "monorun"
}
}
4 changes: 2 additions & 2 deletions docker/autoware-openadk/etc/dev_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ else
echo "Starting with user: $USER_NAME >> UID $USER_ID, GID: $GROUP_ID"

# Create group and user with GID/UID
groupadd -g $GROUP_ID $GROUP_NAME
groupadd -g $GROUP_ID $GROUP_NAME
useradd -u $USER_ID -g $GROUP_ID -s /bin/bash -m -d /home/$USER_NAME $USER_NAME

# Add sudo privileges to the user
echo "$USER_NAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
echo "$USER_NAME ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers

# Source ROS2
source "/opt/ros/$ROS_DISTRO/setup.bash"
Expand Down

0 comments on commit 54211a2

Please sign in to comment.