@@ -36,22 +36,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3636 curl \
3737 ca-certificates \
3838 wget \
39- httpie \
40- netcat-openbsd \
41- dnsutils \
42- iputils-ping \
4339 openssh-client \
4440 # Archive & compression
4541 zip \
4642 unzip \
4743 tar \
4844 gzip \
4945 bzip2 \
50- xz-utils \
51- p7zip-full \
5246 # Text processing & editors
5347 vim \
54- nano \
5548 jq \
5649 yq \
5750 ripgrep \
@@ -64,77 +57,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
6457 procps \
6558 lsof \
6659 strace \
67- # Database clients (PostgreSQL installed separately below)
68- redis-tools \
69- sqlite3 \
7060 # SSL & certificates
7161 ca-certificates \
7262 openssl \
7363 gnupg \
7464 # Misc utilities
7565 locales \
7666 tzdata \
77- file \
78- bc \
79- uuid-runtime \
80- # Libraries for various tools
81- libssl-dev \
82- libffi-dev \
83- zlib1g-dev \
84- libbz2-dev \
85- libreadline-dev \
86- libsqlite3-dev \
87- libncurses5-dev \
88- libncursesw5-dev \
89- liblzma-dev \
90- libxml2-dev \
91- libxslt1-dev \
92- libpq-dev \
93- # X11 and display libraries (for headless browsers)
94- xvfb \
95- xauth \
96- libx11-xcb1 \
97- libxcomposite1 \
98- libxcursor1 \
99- libxdamage1 \
100- libxi6 \
101- libxtst6 \
102- libnss3 \
103- libcups2 \
104- libxss1 \
105- libxrandr2 \
106- libasound2t64 \
107- libpangocairo-1.0-0 \
108- libatk1.0-0 \
109- libatk-bridge2.0-0 \
110- libgtk-3-0 \
111- libgbm1 \
112- libdrm2 \
113- libxkbcommon0 \
114- fonts-liberation \
115- fonts-noto-color-emoji \
116- # Media processing
117- ffmpeg \
118- imagemagick \
119- libmagickwand-dev \
120- # OCR & document processing
121- tesseract-ocr \
122- tesseract-ocr-eng \
123- poppler-utils \
124- ghostscript \
125- wkhtmltopdf \
126- # Diagramming & visualization
127- graphviz \
128- # Metadata tools
129- libimage-exiftool-perl \
130- # PDF Generation
131- pandoc \
132- texlive-latex-base \
133- texlive-latex-recommended \
134- texlive-latex-extra \
135- texlive-fonts-recommended \
136- texlive-xetex \
137- latexmk \
13867 # Python
13968 python3 \
14069 python3-full \
@@ -177,74 +106,15 @@ RUN curl -fsSL https://bun.sh/install | bash
177106ENV BUN_INSTALL="/root/.bun"
178107ENV PATH="$BUN_INSTALL/bin:$PATH"
179108
180- # Global npm packages
181- RUN bun install -g \
182- typescript \
183- tsx \
184- yarn \
185- prettier \
186- eslint
187-
188109# Set Python 3 as default
189110RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
190111
191112# Essential Python packages
192113RUN pip install --no-cache-dir --break-system-packages --ignore-installed \
193114 # Package management
194- setuptools \
195- wheel \
196115 pipx \
197116 uv \
198- poetry \
199- # Web & HTTP
200- requests \
201- httpx \
202- aiohttp \
203- fastapi \
204- uvicorn \
205- flask \
206- # Data processing
207- pandas \
208- numpy \
209- polars \
210- # CLI & utilities
211- click \
212- typer \
213- rich \
214- pydantic \
215- python-dotenv \
216- # Testing
217- pytest \
218- pytest-asyncio \
219- # Code quality
220- black \
221- ruff \
222- mypy \
223- # Scraping & automation
224- beautifulsoup4 \
225- lxml \
226- selenium \
227- playwright \
228- # Database
229- psycopg2-binary \
230- sqlalchemy \
231- # Async
232- asyncio \
233- anyio \
234- # Document & media processing
235- pypdf \
236- python-docx \
237- openpyxl \
238- markdown \
239- pytesseract \
240- Pillow \
241- opencv-python-headless \
242- # CSV processing
243- csvkit \
244- # Misc
245- pyyaml \
246- toml \
247- jinja2
117+ poetry
248118
249119# ============================================================================
250120# GO (Golang)
@@ -259,20 +129,6 @@ ENV GOPATH="/root/go"
259129# Go debugger
260130RUN go install github.com/go-delve/delve/cmd/dlv@latest
261131
262- # ============================================================================
263- # RUST (via rustup)
264- # ============================================================================
265-
266- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
267- ENV PATH="/root/.cargo/bin:$PATH"
268-
269- # Common Rust tools
270- RUN cargo install \
271- tokei \
272- hyperfine \
273- bat \
274- eza
275-
276132# ============================================================================
277133# HEADLESS BROWSER AUTOMATION
278134# ============================================================================
@@ -284,36 +140,6 @@ RUN playwright install --with-deps chromium firefox webkit \
284140# Install Puppeteer (will use Playwright's Chromium)
285141RUN bun install -g puppeteer
286142
287- # ============================================================================
288- # CLOUD CLIs & INFRASTRUCTURE TOOLS
289- # ============================================================================
290-
291- # AWS CLI v2
292- RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
293- && unzip awscliv2.zip \
294- && ./aws/install \
295- && rm -rf awscliv2.zip aws
296-
297- # Azure CLI
298- RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
299-
300- # Terraform
301- RUN wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg \
302- && echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" > /etc/apt/sources.list.d/hashicorp.list \
303- && apt-get update \
304- && apt-get install -y terraform \
305- && rm -rf /var/lib/apt/lists/*
306-
307- # kubectl
308- RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.31/deb/Release.key | gpg --dearmor -o /usr/share/keyrings/kubernetes-apt-keyring.gpg \
309- && echo "deb [signed-by=/usr/share/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.31/deb/ /" > /etc/apt/sources.list.d/kubernetes.list \
310- && apt-get update \
311- && apt-get install -y kubectl \
312- && rm -rf /var/lib/apt/lists/*
313-
314- # Helm
315- RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
316-
317143# Docker (daemon + CLI for Docker-in-Docker scenarios)
318144RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg \
319145 && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list \
0 commit comments