diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index fd54fcb6e3c..29450aa3cca 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { - "name": "Autoware", - "image": "ghcr.io/autowarefoundation/autoware-openadk:devel-latest" + "name": "Autoware", + "image": "ghcr.io/autowarefoundation/autoware-openadk:devel-latest" - // "remoteUser": "autoware", + // "remoteUser": "autoware", } diff --git a/ansible/playbooks/openadk.yaml b/ansible/playbooks/openadk.yaml index 1f8a64a43c7..ee59a1b61f0 100644 --- a/ansible/playbooks/openadk.yaml +++ b/ansible/playbooks/openadk.yaml @@ -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' diff --git a/docker/autoware-openadk/docker-bake.hcl b/docker/autoware-openadk/docker-bake.hcl index 0df8f0422b6..d343c04a669 100644 --- a/docker/autoware-openadk/docker-bake.hcl +++ b/docker/autoware-openadk/docker-bake.hcl @@ -16,4 +16,4 @@ target "monorun" { inherits = ["docker-metadata-action-monorun"] dockerfile = "docker/autoware-openadk/Dockerfile" target = "monorun" -} \ No newline at end of file +} diff --git a/docker/autoware-openadk/etc/dev_entrypoint.sh b/docker/autoware-openadk/etc/dev_entrypoint.sh index bd060744d1d..1bb517b443c 100644 --- a/docker/autoware-openadk/etc/dev_entrypoint.sh +++ b/docker/autoware-openadk/etc/dev_entrypoint.sh @@ -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"