mirror of
https://github.com/koush/scrypted.git
synced 2026-02-09 16:52:18 +00:00
15 lines
517 B
Docker
15 lines
517 B
Docker
FROM ghcr.io/koush/scrypted:20-jammy-full.s6
|
|
|
|
WORKDIR /
|
|
|
|
# Install miniconda
|
|
ENV CONDA_DIR /opt/conda
|
|
RUN apt update -y && apt -y install wget && 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 -y install -c conda-forge cudatoolkit cudnn
|
|
ENV CONDA_PREFIX=/opt/conda
|
|
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/
|