|
|
|
@ -4,7 +4,6 @@ |
|
|
|
|
|
|
|
|
|
# Start FROM PyTorch image https://hub.docker.com/r/pytorch/pytorch or nvcr.io/nvidia/pytorch:23.03-py3 |
|
|
|
|
FROM pytorch/pytorch:2.3.1-cuda12.1-cudnn8-runtime |
|
|
|
|
RUN pip install --no-cache-dir tensorrt |
|
|
|
|
|
|
|
|
|
# Set environment variables |
|
|
|
|
ENV APP_HOME /usr/src/ultralytics |
|
|
|
@ -20,7 +19,7 @@ ADD https://github.com/ultralytics/assets/releases/download/v0.0.0/Arial.ttf \ |
|
|
|
|
# g++ required to build 'tflite_support' and 'lap' packages, libusb-1.0-0 required for 'tflite_support' package |
|
|
|
|
# libsm6 required by libqxcb to create QT-based windows for visualization; set 'QT_DEBUG_PLUGINS=1' to test in docker |
|
|
|
|
RUN apt update \ |
|
|
|
|
&& apt install --no-install-recommends -y gcc git zip unzip curl htop libgl1 libglib2.0-0 libpython3-dev gnupg g++ libusb-1.0-0 libsm6 |
|
|
|
|
&& apt install --no-install-recommends -y gcc git zip unzip wget curl htop libgl1 libglib2.0-0 libpython3-dev gnupg g++ libusb-1.0-0 libsm6 |
|
|
|
|
|
|
|
|
|
# Security updates |
|
|
|
|
# https://security.snyk.io/vuln/SNYK-UBUNTU1804-OPENSSL-3314796 |
|
|
|
|