Note: There is no official Docker image for Tito. Tito is typically installed via pip or from distribution packages.
See Docker installation: Docker
You can create a custom Dockerfile for Tito builds:
FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
rpm-build \
rpmdevtools \
git \
&& rm -rf /var/lib/apt/lists/*
RUN pip install tito
WORKDIR /workspace
Then build and run:
docker build -t tito:latest .
docker run --rm -it tito:latest tito --version
docker run --rm -it \
-v /path/to/project:/project \
-w /project \
tito:latest \
tito build --rpm
Tito is typically installed directly:
# Via pip
pip install tito
# Or on Fedora/RHEL with EPEL
dnf install tito
See Tito Setup for native installation.
Running containers in production? We help with:
Need help? office@linux-server-admin.com or Contact Us
References: