Skip to content

Commit 5120407

Browse files
tylergannonclaude
andcommitted
Bake resend-listener + check-mail wrapper into runner image
Personas need to receive verification emails (signup flows, magic links) during a run. Pre-installing resend-listener avoids per-run download cost and gives the agent a simple `check-mail <addr>` shortcut for the common one-shot case. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9391c9c commit 5120407

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,21 @@ RUN set -eux; \
2929
test -x /usr/bin/chromium; \
3030
echo "baked $CHROME_BIN → /usr/bin/chromium"
3131

32+
# Bake in resend-listener — the CLI personas use to receive verification emails
33+
# during signup flows. Public release, no auth needed. TARGETARCH is set
34+
# automatically by buildx for the multi-arch build (amd64 / arm64).
35+
ARG RESEND_LISTENER_VERSION=0.3.0
36+
ARG TARGETARCH
37+
RUN set -eux; \
38+
url="https://github.com/pagerguild/resend-listener/releases/download/v${RESEND_LISTENER_VERSION}/resend-listener_${RESEND_LISTENER_VERSION}_linux_${TARGETARCH}.tar.gz"; \
39+
curl -fsSL "$url" | tar -xzC /usr/local/bin resend-listener; \
40+
chmod +x /usr/local/bin/resend-listener; \
41+
test -x /usr/local/bin/resend-listener; \
42+
printf '%s\n' '#!/bin/sh' 'exec /usr/local/bin/resend-listener -wait "$@"' \
43+
> /usr/local/bin/check-mail; \
44+
chmod +x /usr/local/bin/check-mail; \
45+
echo "baked resend-listener ${RESEND_LISTENER_VERSION} (${TARGETARCH}) + check-mail wrapper"
46+
3247
# Reset to the entrypoint catthehacker expects so act's container lifecycle
3348
# (tail -f /dev/null then docker exec) keeps working.
3449
ENTRYPOINT []

0 commit comments

Comments
 (0)