Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Fix dev containers for user overlays #216

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ STUDIO_DOCKER_TAG=main
# Licensing -- enter your MoveIt Pro license below
STUDIO_LICENSE_KEY=

# User name and UID to use when building the container
# User name, UID, and GID to use when building the container
# Ensure these settings match your host environment for mounted file permissions.
USERNAME=
STUDIO_USERNAME=
STUDIO_USER_UID=
STUDIO_USER_GID=
12 changes: 6 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ services:
# Extend the installed MoveIt Pro docker compose file.
# Change this to match your environment, if MoveIt Pro was installed to a different location.
extends:
file: ${HOME}/moveit_studio/docker-compose.yaml
file: ${HOME}/moveit_pro/docker-compose.yaml
service: base
image: moveit-studio-overlay
image: moveit-pro-overlay
build:
context: .
target: user-overlay
Expand Down Expand Up @@ -96,10 +96,10 @@ services:
privileged: true
volumes:
# Mount the source code, colcon generated artifacts, and ccache
- ./src/:/home/${STUDIO_USERNAME:-studio-user}/user_overlay_ws/src:rw
- ./build/:/home/${STUDIO_USERNAME:-studio-user}/user_overlay_ws/build:rw
- ./install/:/home/${STUDIO_USERNAME:-studio-user}/user_overlay_ws/install:rw
- ./log/:/home/${STUDIO_USERNAME:-studio-user}/user_overlay_ws/log:rw
- ./src/:/home/${STUDIO_USERNAME:-studio-user}/user_ws/src:rw
- ./build/:/home/${STUDIO_USERNAME:-studio-user}/user_ws/build:rw
- ./install/:/home/${STUDIO_USERNAME:-studio-user}/user_ws/install:rw
- ./log/:/home/${STUDIO_USERNAME:-studio-user}/user_ws/log:rw
- ./.ccache/:/home/${STUDIO_USERNAME:-studio-user}/.ccache:rw
- ${HOME}/.ros/log_moveit_pro:/home/${STUDIO_USERNAME:-studio-user}/.ros/log
# Allow access to host hardware e.g. RealSense cameras
Expand Down
Loading