FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
coder/python/Dockerfile at master · dockette/coder · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
dockette
/
coder
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
2
Code
Issues
0
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
coder
/
python
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
76 lines (71 loc) · 4.13 KB
Breadcrumbs
coder
/
python
/
Dockerfile
Copy path
File metadata and controls
76 lines (71 loc) · 4.13 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
FROM
codercom/enterprise-base:ubuntu
ENV
NODE_VERSION=24
ENV
GLAB_VERSION=1.111.0
ENV
OPENCODE_VERSION=1.18.13
ENV
CLAUDE_VERSION=2.1.224
ENV
CODEX_VERSION=0.147.0
ENV
COPILOT_VERSION=1.0.78
ENV
PI_VERSION=0.84.1
ENV
AGENT_BROWSER_VERSION=0.33.2
USER
root
RUN
\
#
REPOS ####################################################################
apt-get update && \
apt-get install -y --no-install-recommends curl wget gpg && \
#
Node repo (needed for npm tools)
curl -fsSL
"https://deb.nodesource.com/setup_${NODE_VERSION}.x"
| bash - && \
#
GitHub CLI repo
wget -qO /tmp/githubcli-archive-keyring.gpg https://cli.github.com/packages/githubcli-archive-keyring.gpg && \
mkdir -p -m 755 /etc/apt/keyrings && \
install -D -m 644 /tmp/githubcli-archive-keyring.gpg /etc/apt/keyrings/githubcli-archive-keyring.gpg && \
echo
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main"
> /etc/apt/sources.list.d/github-cli.list && \
rm -f /tmp/githubcli-archive-keyring.gpg && \
#
SINGLE UPDATE + INSTALL ##################################################
apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y --no-install-recommends \
git jq ripgrep tmux nano nodejs gh \
#
Python
python3 python3-pip python3-venv \
#
Chrome libs (agent-browser)
libnspr4 libnss3 libatk-bridge2.0-0 libdrm2 libxkbcommon0 libatspi2.0-0 \
libcups2t64 libxshmfence1 libgbm1 libpango-1.0-0 libpangocairo-1.0-0 \
libasound2t64 libx11-xcb1 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 \
libxi6 libgtk-3-0t64 libcairo2 libcairo-gobject2 libgdk-pixbuf-2.0-0 \
libatk1.0-0 libxrender1 libfontconfig1 libdbus-1-3 libxcb1 libxext6 libx11-6 && \
#
GLAB (GitLab CLI) ########################################################
curl -fsSL
"https://gitlab.com/gitlab-org/cli/-/releases/v${GLAB_VERSION}/downloads/glab_${GLAB_VERSION}_linux_$(dpkg --print-architecture).deb"
-o /tmp/glab.deb && \
dpkg -i /tmp/glab.deb && \
rm -f /tmp/glab.deb && \
#
CLAUDE ####################################################################
(curl -fsSL https://claude.ai/install.sh | bash -s ${CLAUDE_VERSION} || true) && \
mkdir -p /home/coder/.local/bin && \
if [ -f /root/.local/bin/claude ]; then cp /root/.local/bin/claude /home/coder/.local/bin/claude; fi && \
if [ -f /root/bin/claude ]; then cp /root/bin/claude /home/coder/.local/bin/claude; fi && \
(chmod +x /home/coder/.local/bin/claude 2>/dev/null || true) && \
ln -sf /home/coder/.local/bin/claude /usr/local/bin/claude && \
#
OPENCODE ##################################################################
curl -fsSL https://opencode.ai/install | VERSION=${OPENCODE_VERSION} bash -s -- --no-modify-path && \
mkdir -p /home/coder/.opencode/bin && \
cp /root/.opencode/bin/opencode /home/coder/.opencode/bin/opencode && \
chmod 0755 /home/coder/.opencode/bin/opencode && \
ln -sf /home/coder/.opencode/bin/opencode /usr/local/bin/opencode && \
opencode --version && \
#
NPM: CODEX, COPILOT #######################################################
npm install -g @openai/codex@${CODEX_VERSION} @github/copilot@${COPILOT_VERSION} && \
#
PI ########################################################################
npm install -g --ignore-scripts @earendil-works/pi-coding-agent@${PI_VERSION} && \
#
AGENT-BROWSER ##############################################################
npm install -g agent-browser@${AGENT_BROWSER_VERSION} && \
runuser -u coder -- agent-browser install && \
#
OWNERSHIP ################################################################
chown -R coder:coder /home/coder/.local /home/coder/.opencode && \
#
CLEANUP ###################################################################
apt-get clean -y && \
apt-get autoclean -y && \
apt-get remove -y wget && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* /var/lib/log/* /tmp/* /var/tmp/* \
/root/.npm /root/.cache /root/.local /root/.opencode
WORKDIR
/home/coder
USER
coder
Back
|
FazBrowse Home
|
New Git URL