Skip to content

Commit c23e03b

Browse files
Rebase image on Python 3.14 with Node 24 and Bun
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
1 parent e39920b commit c23e03b

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

Dockerfile

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
1-
# 1. Switch to a Debian-based image for glibc compatibility
2-
FROM node:24-bookworm-slim
1+
FROM node:24-bookworm-slim AS node_runtime
2+
3+
FROM oven/bun:1 AS bun_runtime
4+
5+
FROM python:3.14-slim-bookworm
36

47
RUN apt-get update && apt-get install -y \
58
curl \
69
bash \
710
gosu \
811
git \
9-
python3 \
10-
python3-pip \
11-
python3-venv \
1212
golang-go \
1313
&& rm -rf /var/lib/apt/lists/*
1414

15+
COPY --from=node_runtime /usr/local/bin/node /usr/local/bin/node
16+
COPY --from=node_runtime /usr/local/bin/npm /usr/local/bin/npm
17+
COPY --from=node_runtime /usr/local/bin/npx /usr/local/bin/npx
18+
COPY --from=node_runtime /usr/local/bin/corepack /usr/local/bin/corepack
19+
COPY --from=node_runtime /usr/local/include/node /usr/local/include/node
20+
COPY --from=node_runtime /usr/local/lib/node_modules /usr/local/lib/node_modules
21+
COPY --from=bun_runtime /usr/local/bin/bun /usr/local/bin/bun
22+
COPY --from=bun_runtime /usr/local/bin/bunx /usr/local/bin/bunx
23+
1524
RUN npm i -g \
1625
opencode-ai \
1726
bash-language-server \

0 commit comments

Comments
 (0)