-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
47 lines (37 loc) · 1.11 KB
/
Copy pathDockerfile.dev
File metadata and controls
47 lines (37 loc) · 1.11 KB
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
# Development environment with Python (httpie) and Rust (xh)
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
# Install basic tools
RUN apt-get update && apt-get install -y \
curl \
wget \
git \
vim \
nano \
ca-certificates \
gnupg \
lsb-release \
build-essential \
pkg-config \
libssl-dev \
&& rm -rf /var/lib/apt/lists/*
# Install Python for httpie
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-venv \
&& rm -rf /var/lib/apt/lists/*
# Create python symlink
RUN ln -sf /usr/bin/python3 /usr/bin/python
# Install pytest and httpie test dependencies
RUN pip3 install pytest pytest-httpbin responses pytest-mock
# Install Rust for xh
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
# Install Node.js 20.x LTS
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*
# Node.js is available for installing AI agent CLIs at runtime
WORKDIR /workspace
CMD ["/bin/bash"]