File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ FROM codercom/example-node:ubuntu
22
33USER root
44
5+ # npm: user-local global directory
6+ RUN mkdir -p ~/.npm-global && \
7+ npm config set prefix ~/.npm-global
8+
59# Apt: mc, nano, PHP 8.5 (Ondrej), GitHub CLI
610RUN DEBIAN_FRONTEND=noninteractive apt-get update -y && \
711 apt-get install -y --no-install-recommends mc nano tmux software-properties-common ca-certificates && \
@@ -49,6 +53,20 @@ RUN npm install -g @openai/codex
4953# Copilot
5054RUN npm install -g @github/copilot
5155
56+ # Chrome dependencies
57+ RUN DEBIAN_FRONTEND=noninteractive apt-get update -y && \
58+ apt-get install -y --no-install-recommends \
59+ libnspr4 libnss3 libatk-bridge2.0-0 libdrm2 libxkbcommon0 libatspi2.0-0 \
60+ libcups2t64 libxshmfence1 libgbm1 libpango-1.0-0 libpangocairo-1.0-0 \
61+ libasound2t64 libx11-xcb1 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 \
62+ libxi6 libgtk-3-0t64 libcairo2 libcairo-gobject2 libgdk-pixbuf-2.0-0 \
63+ libatk1.0-0 libxrender1 libfontconfig1 libdbus-1-3 libxcb1 libxext6 libx11-6 && \
64+ apt-get clean && rm -rf /var/lib/apt/lists/*
65+
66+ # Agent Browser: install + download Chrome
67+ RUN npm install -g agent-browser && \
68+ agent-browser install
69+
5270# PATHS
5371RUN echo '' >> /etc/profile && \
5472 echo '# coder-env: Deno, Bun' >> /etc/profile && \
You can’t perform that action at this time.
0 commit comments