mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-03 01:15:00 +00:00
feat: add ffmpeg images (#492)
Signed-off-by: mudler <mudler@mocaccino.org>
This commit is contained in:
parent
3892fafc2d
commit
1bb85377e4
2 changed files with 31 additions and 0 deletions
|
@ -48,6 +48,7 @@ ARG BUILD_TYPE=
|
|||
ARG GO_TAGS=stablediffusion
|
||||
ARG CUDA_MAJOR_VERSION=11
|
||||
ARG CUDA_MINOR_VERSION=7
|
||||
ARG FFMPEG=
|
||||
|
||||
ENV BUILD_TYPE=${BUILD_TYPE}
|
||||
ENV GO_TAGS=${GO_TAGS}
|
||||
|
@ -73,6 +74,12 @@ RUN if [ "${BUILD_TYPE}" = "cublas" ]; then \
|
|||
apt-get update && \
|
||||
apt-get install -y cuda-nvcc-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} libcublas-dev-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} \
|
||||
; fi
|
||||
|
||||
# Add FFmpeg
|
||||
RUN if [ "${FFMPEG}" = "true" ]; then \
|
||||
apt-get install -y ffmpeg \
|
||||
; fi
|
||||
|
||||
ENV PATH /usr/local/cuda/bin:${PATH}
|
||||
|
||||
# OpenBLAS requirements
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue