A Python port of the Invisible Internet Project (I2P)
1# Build environment for sdist and wheel.
2# Produces .tar.gz (sdist) and .whl (pure Python wheel).
3#
4# Build image:
5# podman build -t i2p-build-sdist -f build/sdist/Containerfile .
6#
7# Run build:
8# podman run --rm -v ./dist:/out:Z i2p-build-sdist
9
10FROM python:3.11-slim
11
12RUN pip install --no-cache-dir build
13
14WORKDIR /build
15COPY . /build/
16
17CMD ["bash", "build/sdist/build.sh"]