-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
36 lines (28 loc) · 1.03 KB
/
Copy pathDockerfile.dev
File metadata and controls
36 lines (28 loc) · 1.03 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
# Development environment with C++ and Rust runtimes for Taskwarrior
# Based on taskwarrior's docker/task.dockerfile
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
ENV PIP_BREAK_SYSTEM_PACKAGES=1
# Install basic tools and C++ build dependencies
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
curl \
git \
uuid-dev \
python3 \
python3-pip \
python3-venv \
&& rm -rf /var/lib/apt/lists/*
# Setup Rust (using stable toolchain as per taskwarrior's dockerfile)
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable
ENV PATH="/root/.cargo/bin:${PATH}"
# Install pytest for testing
RUN pip3 install --break-system-packages pytest
# 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"]