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

Commit

Permalink
Fix dev containers for user overlays (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass authored Feb 20, 2024
1 parent 0c63efe commit c80a35e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
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

0 comments on commit c80a35e

Please sign in to comment.