Skip to content

Switching base images fails due to missing entrypoint-session.sh #128

@GrimmiMeloni

Description

@GrimmiMeloni

Paude fails to create session based on custom base images.

Minimal reproduction steps:

mkdir paude-temp
cd paude-temp
cat <<EOF >paude.json
{
  "base": "golang:1.25",
  "create": {
    "allowed-domains": ["default", "golang"],
    "agent": "claude"
  }
}
EOF
paude create

leads to build failing

...
STEP 16/20: COPY --chmod=755 entrypoint-session.sh /usr/local/bin/entrypoint-session.sh
Error: building at STEP "COPY --chmod=755 entrypoint-session.sh /usr/local/bin/entrypoint-session.sh": checking on sources under "/private/var/folders/66/t1c0w5vx38b6qwy3xnxhtlkc0000gn/T/tmp6m4qcmrk": copier: stat: "/entrypoint-session.sh": no such file or directory

Error ensuring image: Command '['podman', 'build', '-f', '/var/folders/66/t1c0w5vx38b6qwy3xnxhtlkc0000gn/T/tmp6m4qcmrk/Dockerfile', '-t', 'paude-workspace:b527d3658a6e-arm64', '--platform', 'linux/arm64', '--build-arg', 'BASE_IMAGE=golang:1.25', '/var/folders/66/t1c0w5vx38b6qwy3xnxhtlkc0000gn/T/tmp6m4qcmrk']' returned non-zero exit status 125.

Workaround:

uv tool install --editable <path to repo clone>

Then use prefix paude commands with PAUDE_DEV=1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions