rust-docker

Installation
SKILL.md

Rust Docker Skill

Master Docker containerization: multi-stage builds, minimal images, and production deployment.

Quick Start

Multi-Stage Dockerfile

# Build stage
FROM rust:1.75-alpine AS builder
RUN apk add --no-cache musl-dev
WORKDIR /app

# Cache dependencies
COPY Cargo.toml Cargo.lock ./
RUN mkdir src && echo "fn main() {}" > src/main.rs
RUN cargo build --release && rm -rf src
Related skills
Installs
5
GitHub Stars
1
First Seen
Jan 24, 2026