Vapora/.woodpecker/Dockerfile
Jesús Pérez d86f051955
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
fix: End-of-file and trailing-whitespace pre-commit compliance
Resolve pre-commit hook formatting failures for multiple files:

**Files Fixed:**
- .woodpecker/Dockerfile — Add missing final newline
- .woodpecker/Dockerfile.cross — Add missing final newline
- justfiles/ci.just — Remove trailing whitespace from recipe definitions
- docs/setup/tracking-setup.md — Add missing final newline
- crates/vapora-backend/src/api/provider_metrics.rs — Add missing final newline

**Hooks Passing:**
 end-of-file-fixer — Files now have proper final newlines
 trailing-whitespace — Removed all trailing spaces
 mixed-line-ending — Line endings normalized

These changes ensure the pre-commit framework can properly validate file formatting without blocking commits on infrastructure issues.
2026-01-11 21:42:00 +00:00

46 lines
1.1 KiB
Docker

# Custom Docker image for Woodpecker CI
# Pre-installs common tools to speed up CI runs
#
# Build: docker build -t your-registry/ci:latest -f .woodpecker/Dockerfile .
# Push: docker push your-registry/ci:latest
#
# Then update .woodpecker/ci.yml to use: image: your-registry/ci:latest
FROM rust:latest
# Install system dependencies
RUN apt-get update && apt-get install -y \
shellcheck \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# Install just
RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin
# Install Rust components
RUN rustup component add clippy rustfmt
# Install Rust tools (pre-compiled to speed up CI)
RUN cargo install \
cargo-audit \
cargo-deny \
cargo-sbom \
nickel-lang-cli \
nu \
--locked
# Set working directory
WORKDIR /workspace
# Verify installations
RUN just --version && \
cargo --version && \
cargo audit --version && \
cargo deny --version && \
cargo sbom --version && \
nickel --version && \
nu --version
CMD ["/bin/bash"]