* Added libsdl2-dev for SDL samples
Building talk-llama seems to fail here as there is no sdl.h.
* Adding libsdl2-dev for sdl.h
* Adding libsdl2-dev for sdl.h
ARG CUDA_DOCKER_ARCH=all
RUN apt-get update && \
- apt-get install -y build-essential git cmake
+ apt-get install -y build-essential git cmake libsdl2-dev
WORKDIR /app
ENV GGML_CUDA=1
RUN apt-get update && \
- apt-get install -y build-essential \
+ apt-get install -y build-essential libsdl2-dev \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
# Ref: https://stackoverflow.com/a/53464012
WORKDIR /app
RUN apt-get update && \
- apt-get install -y curl ffmpeg \
+ apt-get install -y curl ffmpeg libsdl2-dev \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
COPY --from=build /app /app