mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-15 13:30:17 -06:00
15 lines
415 B
Docker
15 lines
415 B
Docker
FROM ubuntu:focal
|
|
RUN : \
|
|
&& apt-get update \
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
python3 \
|
|
python3-distutils \
|
|
python3-venv \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV LANG=C.UTF-8 PATH=/venv/bin:$PATH
|
|
RUN : \
|
|
&& python3 -mvenv /venv \
|
|
&& pip install --no-cache-dir pip setuptools wheel no-manylinux --upgrade
|