add zipapp support

This commit is contained in:
Anthony Sottile 2020-09-23 15:35:41 -07:00
parent 202f0bbbc9
commit bc198b89ca
4 changed files with 213 additions and 0 deletions

14
testing/zipapp/Dockerfile Normal file
View 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