Skip to content

Commit ebe4ca2

Browse files
committed
Updates
1 parent 66311fe commit ebe4ca2

2 files changed

Lines changed: 11 additions & 18 deletions

File tree

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
<h1 align=center>Dockette / Coder</h1>
22

33
<p align=center>
4-
Docker base images for <a href="https://coder.com">Coder</a> workspaces. Extends the official Coder Node image with PHP, Composer, Deno, Bun, GitHub CLI, and dev tooling.
5-
</p>
6-
7-
<p align=center>
8-
<a href="https://hub.docker.com/r/dockette/coder/"><img src="https://badgen.net/docker/pulls/dockette/coder"></a>
9-
<a href="https://bit.ly/ctteg"><img src="https://badgen.net/badge/support/gitter/cyan"></a>
10-
<a href="https://github.com/sponsors/f3l1x"><img src="https://badgen.net/badge/sponsor/donations/F96854"></a>
4+
Docker base images for <a href="https://coder.com">Coder</a> workspaces.
5+
Extends the official Coder image with AI tooling.
116
</p>
127

138
-----

fx/Dockerfile

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,22 @@ RUN curl -fsSL https://deno.land/install.sh | sh
2828
ENV BUN_INSTALL=/usr/local
2929
RUN curl -fsSL https://bun.sh/install | bash
3030

31-
# Claude CLI (install script may use $HOME; we copy binary to /usr/local/bin)
31+
# Claude CLI
3232
RUN curl -fsSL https://claude.ai/install.sh | bash || true && \
3333
if [ -f /root/.local/bin/claude ]; then cp /root/.local/bin/claude /usr/local/bin/claude && chmod +x /usr/local/bin/claude; fi && \
3434
if [ -f /root/bin/claude ]; then cp /root/bin/claude /usr/local/bin/claude && chmod +x /usr/local/bin/claude; fi
3535

36-
# OpenCode (same: install then ensure binary in PATH)
36+
# OpenCode CLI
3737
RUN curl -fsSL https://opencode.ai/install | bash || true && \
38-
if [ -f /root/.local/bin/opencode ]; then cp /root/.local/bin/opencode /usr/local/bin/opencode && chmod +x /usr/local/bin/opencode; fi && \
39-
if [ -f /root/bin/opencode ]; then cp /root/bin/opencode /usr/local/bin/opencode && chmod +x /usr/local/bin/opencode; fi
38+
if [ -f /root/.opencode/bin/opencode ]; then cp /root/.opencode/bin/opencode /usr/local/bin/opencode && chmod +x /usr/local/bin/opencode; fi
4039

41-
# Cursor Agent CLI (https://cursor.com/docs/cli)
42-
RUN curl -fsSL https://cursor.com/install | bash || true && \
43-
if [ -f /root/.local/bin/cursor-agent ]; then cp /root/.local/bin/cursor-agent /usr/local/bin/cursor-agent && chmod +x /usr/local/bin/cursor-agent; fi && \
44-
if [ -f /root/bin/cursor-agent ]; then cp /root/bin/cursor-agent /usr/local/bin/cursor-agent && chmod +x /usr/local/bin/cursor-agent; fi
40+
# Codex
41+
RUN npm install -g @openai/codex
4542

46-
# npm global tools
47-
RUN npm install -g @openai/codex @github/copilot
43+
# Copilot
44+
RUN npm install -g @github/copilot
4845

49-
# PATH and env for all users (Deno, Bun) — append to bash profile
46+
# PATHS
5047
RUN echo '' >> /etc/profile && \
5148
echo '# coder-env: Deno, Bun' >> /etc/profile && \
5249
echo 'export DENO_INSTALL="${DENO_INSTALL:-/usr/local}"' >> /etc/profile && \
@@ -55,4 +52,5 @@ RUN echo '' >> /etc/profile && \
5552
echo '[ -d "$BUN_INSTALL/bin" ] && export PATH="$BUN_INSTALL/bin:$PATH"' >> /etc/profile
5653

5754
WORKDIR /home/coder
55+
5856
USER coder

0 commit comments

Comments
 (0)