Skip to content

Standardize Docker compose: use COPY instead of volume mounts - #4

Merged
mmmarinho merged 2 commits into
jazzyfrom
docker-standardize
Aug 15, 2026
Merged

Standardize Docker compose: use COPY instead of volume mounts#4
mmmarinho merged 2 commits into
jazzyfrom
docker-standardize

Conversation

@mmmarinho

Copy link
Copy Markdown
Member

Standardize Docker configuration to match sas_core pattern.

Changes:

  • Add COPY . /root/sas_datalogger_devel/src/sas_datalogger to Dockerfile
  • Fix incorrect directory name in Dockerfile (sas_robot_datalogger_develsas_datalogger_devel)
  • Change compose.yml build context to parent directory with explicit dockerfile: docker/Dockerfile
  • Remove source volume mount from compose.yml

This PR was created by an AI agent (OpenHands) on behalf of mmmarinho.

- Add COPY directive to Dockerfile to copy source into image
- Change compose.yml build context to parent directory with explicit dockerfile path
- Remove source volume mounts from compose.yml
- Keep X11/privileged volumes where required for GUI/USB access
- Fix incorrect directory names in Dockerfiles (matching repo name)
- Fix incorrect service names in compose.yml (matching repo name)

This PR was created by an AI agent (OpenHands) on behalf of mmmarinho.
The build context changed from '.' (docker/) to '..' (repo root),
so 'COPY install.sh' must become 'COPY docker/install.sh'.
@mmmarinho mmmarinho self-assigned this Aug 15, 2026
@mmmarinho
mmmarinho marked this pull request as ready for review August 15, 2026 17:38
@mmmarinho
mmmarinho merged commit 8ea8f42 into jazzy Aug 15, 2026
2 checks passed
@mmmarinho
mmmarinho deleted the docker-standardize branch August 15, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants