25 lines
806 B
Docker
25 lines
806 B
Docker
FROM nvcr.io/nvidia/tensorrt:24.10-py3
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
ENV LANG=C.UTF-8
|
|
ENV LC_ALL=C.UTF-8
|
|
WORKDIR /
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends feh
|
|
RUN apt-get update && apt-get install -y --no-install-recommends python3-opencv
|
|
RUN pip uninstall -y opencv-python && pip install --no-cache-dir "opencv-python<4.3"
|
|
|
|
# Show matplotlib images
|
|
RUN apt-get update && apt-get install -y --no-install-recommends python3-tk
|
|
|
|
# Python build frontend
|
|
RUN pip3 install --upgrade --no-cache-dir pip
|
|
|
|
# Install build dependencies
|
|
RUN apt-get update && apt-get install -y --no-install-recommends build-essential
|
|
RUN apt-get update && apt-get install -y --no-install-recommends libopencv-dev
|
|
RUN pip3 install --no-cache-dir uv
|
|
|
|
WORKDIR /RapidPoseTriangulation/
|
|
CMD ["/bin/bash"]
|