-
-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathDockerfile.dev
More file actions
32 lines (26 loc) · 728 Bytes
/
Dockerfile.dev
File metadata and controls
32 lines (26 loc) · 728 Bytes
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
# Perry Development Dockerfile
#
# Full development environment with Rust toolchain for building and testing.
# Use with docker-compose: docker compose run --rm perry-dev bash
#
# This image includes:
# - Rust stable toolchain with rustfmt and clippy
# - All build dependencies
# - Useful development tools
FROM rust:1.75-bookworm
WORKDIR /perry
# Install build and development dependencies
RUN apt-get update && apt-get install -y \
build-essential \
pkg-config \
libssl-dev \
git \
curl \
vim \
&& rm -rf /var/lib/apt/lists/*
# Install Rust components
RUN rustup component add rustfmt clippy
# Set up cargo cache volume mount points
ENV CARGO_HOME=/root/.cargo
# Default command
CMD ["bash"]