Skip to content

Commit 6fb6f3b

Browse files
committed
feat: Unify workspaces style
1 parent 7523bb7 commit 6fb6f3b

24 files changed

Lines changed: 120 additions & 12 deletions

File tree

aloha_ws/docker/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ COPY --chown=$USERNAME:$USERNAME \
222222
modules/install_claude_code.sh /tmp/install_claude_code.sh
223223
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
224224
/tmp/install_claude_code.sh && rm /tmp/install_claude_code.sh
225+
# Codex CLI configuration
226+
ARG CODEX=""
227+
COPY --chown=$USERNAME:$USERNAME \
228+
modules/install_codex.sh /tmp/install_codex.sh
229+
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
230+
/tmp/install_codex.sh && rm /tmp/install_codex.sh
225231
# TODO: Install more optional development tools here
226232
ENTRYPOINT []
227233
CMD ["/bin/bash"]

aloha_ws/docker/compose.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ services:
4848
# RTABMAP: ""
4949
# TODO: Set to "YES" if using Claude Code CLI or set to "" if not using Claude Code CLI
5050
# CLAUDE_CODE: ""
51+
# TODO: Set to "YES" if using Codex CLI or set to "" if not using Codex CLI
52+
# CODEX: ""
5153
cache_from:
5254
- j3soon/ros2-aloha-ws:buildcache-amd64
5355
- j3soon/ros2-aloha-ws:buildcache-arm64
@@ -181,9 +183,10 @@ services:
181183
# TODO: Add more volume mounts here.
182184
# Mount root workspace to allow easy access to all workspaces.
183185
- ../..:/home/ros2-essentials
184-
# Mount credentials (for Claude Code CLI and etc.)
186+
# Mount credentials (for Claude Code CLI, Codex CLI, and etc.)
185187
- ../../.env/.claude:/home/user/.claude
186188
- ../../.env/.claude.json:/home/user/.claude.json
189+
- ../../.env/.codex:/home/user/.codex
187190
volumes:
188191
gazebo-cache:
189192
name: ros2-gazebo-cache

delto_gripper_ws/docker/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@ COPY --chown=$USERNAME:$USERNAME \
189189
modules/install_claude_code.sh /tmp/install_claude_code.sh
190190
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
191191
/tmp/install_claude_code.sh && rm /tmp/install_claude_code.sh
192+
# Codex CLI configuration
193+
ARG CODEX=""
194+
COPY --chown=$USERNAME:$USERNAME \
195+
modules/install_codex.sh /tmp/install_codex.sh
196+
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
197+
/tmp/install_codex.sh && rm /tmp/install_codex.sh
192198
# TODO: Install more optional development tools here
193199
ENTRYPOINT []
194200
CMD ["/bin/bash"]

delto_gripper_ws/docker/compose.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ services:
4848
# RTABMAP: ""
4949
# TODO: Set to "YES" if using Claude Code CLI or set to "" if not using Claude Code CLI
5050
# CLAUDE_CODE: ""
51+
# TODO: Set to "YES" if using Codex CLI or set to "" if not using Codex CLI
52+
# CODEX: ""
5153
cache_from:
5254
- j3soon/ros2-delto-gripper-ws:buildcache-amd64
5355
- j3soon/ros2-delto-gripper-ws:buildcache-arm64
@@ -181,9 +183,10 @@ services:
181183
# TODO: Add more volume mounts here.
182184
# Mount root workspace to allow easy access to all workspaces.
183185
- ../..:/home/ros2-essentials
184-
# Mount credentials (for Claude Code CLI and etc.)
186+
# Mount credentials (for Claude Code CLI, Codex CLI, and etc.)
185187
- ../../.env/.claude:/home/user/.claude
186188
- ../../.env/.claude.json:/home/user/.claude.json
189+
- ../../.env/.codex:/home/user/.codex
187190
volumes:
188191
gazebo-cache:
189192
name: ros2-gazebo-cache

gazebo_world_ws/docker/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ COPY --chown=$USERNAME:$USERNAME \
178178
modules/install_claude_code.sh /tmp/install_claude_code.sh
179179
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
180180
/tmp/install_claude_code.sh && rm /tmp/install_claude_code.sh
181+
# Codex CLI configuration
182+
ARG CODEX=""
183+
COPY --chown=$USERNAME:$USERNAME \
184+
modules/install_codex.sh /tmp/install_codex.sh
185+
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
186+
/tmp/install_codex.sh && rm /tmp/install_codex.sh
181187
# TODO: Install more optional development tools here
182188

183189
LABEL org.opencontainers.image.authors="yuzhong1214@gmail.com"

gazebo_world_ws/docker/compose.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ services:
4848
# RTABMAP: ""
4949
# TODO: Set to "YES" if using Claude Code CLI or set to "" if not using Claude Code CLI
5050
# CLAUDE_CODE: ""
51+
# TODO: Set to "YES" if using Codex CLI or set to "" if not using Codex CLI
52+
# CODEX: ""
5153
cache_from:
5254
- j3soon/ros2-gazebo-world-ws:buildcache-amd64
5355
- j3soon/ros2-gazebo-world-ws:buildcache-arm64
@@ -181,9 +183,10 @@ services:
181183
# TODO: Add more volume mounts here.
182184
# Mount root workspace to allow easy access to all workspaces.
183185
- ../..:/home/ros2-essentials
184-
# Mount credentials (for Claude Code CLI and etc.)
186+
# Mount credentials (for Claude Code CLI, Codex CLI, and etc.)
185187
- ../../.env/.claude:/home/user/.claude
186188
- ../../.env/.claude.json:/home/user/.claude.json
189+
- ../../.env/.codex:/home/user/.codex
187190
volumes:
188191
gazebo-cache:
189192
name: ros2-gazebo-cache

go2_ws/docker/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,12 @@ COPY --chown=$USERNAME:$USERNAME \
193193
modules/install_claude_code.sh /tmp/install_claude_code.sh
194194
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
195195
/tmp/install_claude_code.sh && rm /tmp/install_claude_code.sh
196+
# Codex CLI configuration
197+
ARG CODEX=""
198+
COPY --chown=$USERNAME:$USERNAME \
199+
modules/install_codex.sh /tmp/install_codex.sh
200+
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
201+
/tmp/install_codex.sh && rm /tmp/install_codex.sh
196202
# TODO: Install more optional development tools here
197203
ENTRYPOINT []
198204
CMD ["/bin/bash"]

go2_ws/docker/compose.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ services:
4848
# RTABMAP: ""
4949
# TODO: Set to "YES" if using Claude Code CLI or set to "" if not using Claude Code CLI
5050
# CLAUDE_CODE: ""
51+
# TODO: Set to "YES" if using Codex CLI or set to "" if not using Codex CLI
52+
# CODEX: ""
5153
cache_from:
5254
- j3soon/ros2-go2-ws:buildcache-amd64
5355
- j3soon/ros2-go2-ws:buildcache-arm64
@@ -181,9 +183,10 @@ services:
181183
# TODO: Add more volume mounts here.
182184
# Mount root workspace to allow easy access to all workspaces.
183185
- ../..:/home/ros2-essentials
184-
# Mount credentials (for Claude Code CLI and etc.)
186+
# Mount credentials (for Claude Code CLI, Codex CLI, and etc.)
185187
- ../../.env/.claude:/home/user/.claude
186188
- ../../.env/.claude.json:/home/user/.claude.json
189+
- ../../.env/.codex:/home/user/.codex
187190
volumes:
188191
gazebo-cache:
189192
name: ros2-gazebo-cache

h1_ws/docker/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ COPY --chown=$USERNAME:$USERNAME \
178178
modules/install_claude_code.sh /tmp/install_claude_code.sh
179179
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
180180
/tmp/install_claude_code.sh && rm /tmp/install_claude_code.sh
181+
# Codex CLI configuration
182+
ARG CODEX=""
183+
COPY --chown=$USERNAME:$USERNAME \
184+
modules/install_codex.sh /tmp/install_codex.sh
185+
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
186+
/tmp/install_codex.sh && rm /tmp/install_codex.sh
181187
# TODO: Install more optional development tools here
182188
ENTRYPOINT []
183189
CMD ["/bin/bash"]

h1_ws/docker/compose.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ services:
4848
# RTABMAP: ""
4949
# TODO: Set to "YES" if using Claude Code CLI or set to "" if not using Claude Code CLI
5050
# CLAUDE_CODE: ""
51+
# TODO: Set to "YES" if using Codex CLI or set to "" if not using Codex CLI
52+
# CODEX: ""
5153
cache_from:
5254
- j3soon/ros2-h1-ws:buildcache-amd64
5355
- j3soon/ros2-h1-ws:buildcache-arm64
@@ -181,9 +183,10 @@ services:
181183
# TODO: Add more volume mounts here.
182184
# Mount root workspace to allow easy access to all workspaces.
183185
- ../..:/home/ros2-essentials
184-
# Mount credentials (for Claude Code CLI and etc.)
186+
# Mount credentials (for Claude Code CLI, Codex CLI, and etc.)
185187
- ../../.env/.claude:/home/user/.claude
186188
- ../../.env/.claude.json:/home/user/.claude.json
189+
- ../../.env/.codex:/home/user/.codex
187190
volumes:
188191
gazebo-cache:
189192
name: ros2-gazebo-cache

0 commit comments

Comments
 (0)