Skip to content

Commit 3855f2d

Browse files
committed
feat: fat Docker image with all language runtimes (java, rust, pnpm, unzip, etc.)
Pre-install everything needed by SWE-forge tasks since Basilica containers block apt-get at runtime (no_new_privs).
1 parent b7183e8 commit 3855f2d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ RUN cargo build --release && strip target/release/term-executor
1111
# ── Runtime stage ──
1212
FROM debian:bookworm-slim
1313
RUN apt-get update && apt-get install -y --no-install-recommends \
14-
ca-certificates git curl libssl3 \
14+
ca-certificates git curl unzip libssl3 libssl-dev pkg-config \
1515
python3 python3-pip python3-venv \
1616
build-essential nodejs npm \
1717
golang-go \
18+
default-jdk maven \
1819
&& ln -sf /usr/bin/python3 /usr/bin/python \
1920
&& npm install -g corepack yarn pnpm \
2021
&& corepack enable \
22+
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
2123
&& rm -rf /var/lib/apt/lists/*
24+
ENV PATH="/root/.cargo/bin:${PATH}"
2225
COPY --from=builder /build/target/release/term-executor /usr/local/bin/
2326
RUN mkdir -p /tmp/sessions
2427
ENV IMAGE_NAME=platformnetwork/term-executor

0 commit comments

Comments
 (0)