A Python port of the Invisible Internet Project (I2P)
1# Build environment for .deb packages.
2# Isolated Debian container with fpm (Effing Package Management).
3#
4# Build image:
5# podman build -t i2p-build-deb -f build/linux-deb/Containerfile .
6#
7# Run build:
8# podman run --rm -v ./dist:/out:Z i2p-build-deb
9
10FROM debian:bookworm-slim
11
12RUN apt-get update -qq \
13 && apt-get install -y --no-install-recommends \
14 python3 python3-pip python3-venv \
15 ruby ruby-dev gcc make \
16 libffi-dev \
17 && gem install fpm --no-document \
18 && rm -rf /var/lib/apt/lists/*
19
20WORKDIR /build
21COPY . /build/
22
23CMD ["bash", "build/linux-deb/build.sh"]