-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
43 lines (33 loc) · 1.1 KB
/
Copy pathDockerfile.dev
File metadata and controls
43 lines (33 loc) · 1.1 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
# Development environment with both source and target language runtimes
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 \
&& rm -rf /var/lib/apt/lists/*
# Install Node.js (for TypeScript source)
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*
# Install Yarn (used by TypeScript source)
RUN npm install -g yarn corepack && corepack enable
# Install Python (for Python target)
RUN apt-get update && apt-get install -y \
python3.10 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
# Create python3 symlink for convenience
RUN ln -sf /usr/bin/python3.10 /usr/bin/python
# Configure git for testing
RUN git config --global user.name "Test User" && \
git config --global user.email "test@example.com"
# Node.js is available for installing AI agent CLIs at runtime
WORKDIR /workspace
CMD ["/bin/bash"]