From 5980b1ae77ab5390fe189df6e8798fd06f939223 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 8 Dec 2024 23:09:26 +0200 Subject: [PATCH] devops : add cmake --- .devops/main-cuda.Dockerfile | 4 ++-- .devops/main.Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.devops/main-cuda.Dockerfile b/.devops/main-cuda.Dockerfile index fa597388..a806fa09 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 libsdl2-dev wget \ + apt-get install -y build-essential libsdl2-dev wget cmake \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* # Ref: https://stackoverflow.com/a/53464012 @@ -33,7 +33,7 @@ ENV LD_LIBRARY_PATH /usr/local/cuda-${CUDA_MAIN_VERSION}/compat:$LD_LIBRARY_PATH WORKDIR /app RUN apt-get update && \ - apt-get install -y curl ffmpeg wget \ + apt-get install -y curl ffmpeg wget cmake \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* COPY --from=build /app /app diff --git a/.devops/main.Dockerfile b/.devops/main.Dockerfile index 4787f503..066d4c83 100644 --- a/.devops/main.Dockerfile +++ b/.devops/main.Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:22.04 AS build WORKDIR /app RUN apt-get update && \ - apt-get install -y build-essential wget \ + apt-get install -y build-essential wget cmake \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* COPY .. . @@ -12,7 +12,7 @@ FROM ubuntu:22.04 AS runtime WORKDIR /app RUN apt-get update && \ - apt-get install -y curl ffmpeg libsdl2-dev wget \ + apt-get install -y curl ffmpeg libsdl2-dev wget cmake \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* COPY --from=build /app /app