mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
add zipapp support
This commit is contained in:
parent
202f0bbbc9
commit
bc198b89ca
4 changed files with 213 additions and 0 deletions
14
testing/zipapp/Dockerfile
Normal file
14
testing/zipapp/Dockerfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
FROM ubuntu:bionic
|
||||
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.6 -mvenv /venv \
|
||||
&& pip install --no-cache-dir pip setuptools wheel no-manylinux --upgrade
|
||||
Loading…
Add table
Add a link
Reference in a new issue