# Build environment for sdist and wheel. # Produces .tar.gz (sdist) and .whl (pure Python wheel). # # Build image: # podman build -t i2p-build-sdist -f build/sdist/Containerfile . # # Run build: # podman run --rm -v ./dist:/out:Z i2p-build-sdist FROM python:3.11-slim RUN pip install --no-cache-dir build WORKDIR /build COPY . /build/ CMD ["bash", "build/sdist/build.sh"]