Skip to content
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
4 changes: 2 additions & 2 deletions sandbox/.bashrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
# Custom prompt: user@project-name:relative-path

# Enable true color (24-bit) support for terminal
export TERM="${TERM:-xterm-direct}"
# Enable 256 color support for terminal
export TERM="${TERM:-xterm-256color}"
export COLORTERM="${COLORTERM:-truecolor}"

PROJECT_NAME="${PROJECT_NAME:-sandbox}"
Expand Down
2 changes: 1 addition & 1 deletion sandbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
# NOTE: Sensitive variables below are declared as empty strings for documentation.
# Actual values will be securely injected at runtime via Kubernetes Secrets.
# This is safe - no actual secrets are hardcoded in the Dockerfile.
ENV DEBIAN_FRONTEND=noninteractive \

Check warning on line 20 in sandbox/Dockerfile

View workflow job for this annotation

GitHub Actions / Build Runtime Docker Images

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "DOCKER_HUB_PASSWD") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 20 in sandbox/Dockerfile

View workflow job for this annotation

GitHub Actions / Build Runtime Docker Images

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "ANTHROPIC_AUTH_TOKEN") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
NODE_VERSION=22.x \
CLAUDE_CODE_VERSION=latest \
PATH="/root/.local/bin:/home/agent/.local/bin:$PATH" \
TERM=xterm-direct \
TERM=xterm-256color \
COLORTERM=truecolor \
ANTHROPIC_BASE_URL="" \
ANTHROPIC_AUTH_TOKEN="" \
Expand Down
6 changes: 3 additions & 3 deletions sandbox/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Start ttyd with true color support
# -T: Set terminal type to xterm-direct (supports 24-bit true color)
# Start ttyd with 256 color support
# -T: Set terminal type to xterm-256color (widely supported)
# -W: Enable websocket compression
ttyd -T xterm-direct -W bash
ttyd -T xterm-256color -W bash