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
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN set -eux; \
ca-certificates curl git gnupg jq less vim sudo tini \
bash-completion locales tmux unzip zip openssh-client \
build-essential python3 python3-pip \
bubblewrap \
passwd; \
# Node.js from NodeSource (pinned major version). The previous
# node:*-bookworm-slim base shipped a phantom uid/gid 1000 user that
Expand Down
7 changes: 5 additions & 2 deletions bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,14 @@ EOF
# -p 7681 : listen port
# -t titleFixed: avoids leaking shell pid/host into the title
# -T xterm-256color : sane terminal
# bash -l : login shell so .bashrc runs
#
# The shell command auto-launches codex on connect so the user lands
# straight in the agent UI. If codex exits or crashes, we drop to an
# interactive bash login so the pod isn't bricked.
exec ttyd \
--writable \
--port 7681 \
--terminal-type xterm-256color \
--client-option titleFixed='codex-cli' \
--client-option fontSize=14 \
bash -l
bash -lc 'codex; exec bash -l'
Loading