mirror of
https://github.com/koush/scrypted.git
synced 2026-02-09 00:39:56 +00:00
15 lines
487 B
Docker
15 lines
487 B
Docker
FROM ghcr.io/koush/scrypted:20-jammy-full.s6
|
|
|
|
WORKDIR /
|
|
|
|
# Install miniconda
|
|
ENV CONDA_DIR /opt/conda
|
|
RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
|
|
/bin/bash ~/miniconda.sh -b -p /opt/conda
|
|
# Put conda in path so we can use conda activate
|
|
ENV PATH=$CONDA_DIR/bin:$PATH
|
|
|
|
RUN conda install -c conda-forge cudatoolkit=11.2.2 cudnn=8.1.0
|
|
ENV CONDA_PREFIX=/opt/conda
|
|
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/
|