From 3a142d78156a7cf946b9de3b172d1ff86e372286 Mon Sep 17 00:00:00 2001 From: JohnnyB Date: Thu, 19 Sep 2024 13:18:45 +0100 Subject: [PATCH 1/3] Added libsdl2-dev for SDL samples Building talk-llama seems to fail here as there is no sdl.h. --- .devops/cublas.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devops/cublas.Dockerfile b/.devops/cublas.Dockerfile index ca87fdda086..60a8edfbb26 100644 --- a/.devops/cublas.Dockerfile +++ b/.devops/cublas.Dockerfile @@ -12,7 +12,7 @@ FROM ${BASE_CUDA_DEV_CONTAINER} as build 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 From 9b3b1b8b0ad3e5ea31804212c5c525624b45c675 Mon Sep 17 00:00:00 2001 From: JohnnyB Date: Thu, 19 Sep 2024 13:19:59 +0100 Subject: [PATCH 2/3] Adding libsdl2-dev for sdl.h --- .devops/main-cuda.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devops/main-cuda.Dockerfile b/.devops/main-cuda.Dockerfile index 674b64c23df..0b7a988697a 100644 --- a/.devops/main-cuda.Dockerfile +++ b/.devops/main-cuda.Dockerfile @@ -17,7 +17,7 @@ ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH} 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 From 44afa0cc77fb122876a27df96e72f6f1f0439d06 Mon Sep 17 00:00:00 2001 From: JohnnyB Date: Thu, 19 Sep 2024 13:20:39 +0100 Subject: [PATCH 3/3] Adding libsdl2-dev for sdl.h --- .devops/main.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devops/main.Dockerfile b/.devops/main.Dockerfile index f923a9063d8..b8170e29561 100644 --- a/.devops/main.Dockerfile +++ b/.devops/main.Dockerfile @@ -12,7 +12,7 @@ FROM ubuntu:22.04 AS runtime 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