pre-commit/Dockerfile
Dreaded_X 40f889a3ee
All checks were successful
Build and deploy censorbot / Build Docker image (push) Successful in 44s
Build and deploy censorbot / Run pre-commit checks (push) Successful in 1m4s
Added cargo to path
2024-06-15 04:15:29 +02:00

8 lines
258 B
Docker

FROM catthehacker/ubuntu:act-latest
RUN apt-get update && apt-get install -y --no-install-recommends pre-commit && rm -rf /var/lib/apt/lists/*
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="${PATH}:/root/.cargo/bin"