# Uses Python (based on ubuntu:22.04) or try to use your own docker image (based on libc)
FROM docker.io/ubuntu:22.04

# add build-essentials (useful for compiling Python modules during pip install)
RUN apt-get update && apt-get install -y --no-install-recommends build-essential python3.11 python3-pip \
                   && apt-get clean && rm -rf /var/lib/apt/lists/* # Clean up to keep the image size as small as possible

# add fakechroot to allow decoupling from host operating system without root permission
RUN apt-get update && apt-get install -y --no-install-recommends fakechroot \
                   && apt-get clean && rm -rf /var/lib/apt/lists/* # Clean up to keep the image size as small as possible

CMD ["./bin/bash"]