Skip to content

Commit b75bdaa

Browse files
author
Baudbot
committed
docs: clarify setup.sh vs install.sh usage in Fly.io guide
Address review comment: add explicit comment explaining why setup.sh (non-interactive core setup) is used instead of install.sh (interactive installer) in the Dockerfile entrypoint context.
1 parent 8d78502 commit b75bdaa

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs/deploy/fly-io.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ FROM ubuntu:24.04
7373
# Prevent interactive prompts during package install
7474
ENV DEBIAN_FRONTEND=noninteractive
7575

76-
# Install base dependencies (baudbot install.sh will install the rest,
77-
# but these are needed for the install script itself to run)
76+
# Install base dependencies that baudbot's setup needs
7877
RUN apt-get update && apt-get install -y \
7978
git curl tmux iptables sudo docker.io gh \
8079
openssh-client ca-certificates \
@@ -99,9 +98,11 @@ set -euo pipefail
9998
VOLUME="/data"
10099
BAUDBOT_HOME="/home/baudbot_agent"
101100

102-
# First-run: run the baudbot installer
101+
# First-run: run baudbot setup (non-interactive core installer)
102+
# Note: setup.sh is used here instead of install.sh because prerequisites
103+
# are already installed via the Dockerfile and we need non-interactive setup.
103104
if [ ! -f "$VOLUME/.baudbot-installed" ]; then
104-
echo "=== First run: installing baudbot ==="
105+
echo "=== First run: setting up baudbot ==="
105106
/root/baudbot/setup.sh root
106107
touch "$VOLUME/.baudbot-installed"
107108

0 commit comments

Comments
 (0)