ggerganov commited on
Commit
1477d32
·
unverified ·
1 Parent(s): 6797e29

devops : add cmake

Browse files
.devops/main-cuda.Dockerfile CHANGED
@@ -17,7 +17,7 @@ ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH}
17
  ENV GGML_CUDA=1
18
 
19
  RUN apt-get update && \
20
- apt-get install -y build-essential libsdl2-dev wget \
21
  && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
22
 
23
  # Ref: https://stackoverflow.com/a/53464012
@@ -33,7 +33,7 @@ ENV LD_LIBRARY_PATH /usr/local/cuda-${CUDA_MAIN_VERSION}/compat:$LD_LIBRARY_PATH
33
  WORKDIR /app
34
 
35
  RUN apt-get update && \
36
- apt-get install -y curl ffmpeg wget \
37
  && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
38
 
39
  COPY --from=build /app /app
 
17
  ENV GGML_CUDA=1
18
 
19
  RUN apt-get update && \
20
+ apt-get install -y build-essential libsdl2-dev wget cmake \
21
  && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
22
 
23
  # Ref: https://stackoverflow.com/a/53464012
 
33
  WORKDIR /app
34
 
35
  RUN apt-get update && \
36
+ apt-get install -y curl ffmpeg wget cmake \
37
  && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
38
 
39
  COPY --from=build /app /app
.devops/main.Dockerfile CHANGED
@@ -2,7 +2,7 @@ FROM ubuntu:22.04 AS build
2
  WORKDIR /app
3
 
4
  RUN apt-get update && \
5
- apt-get install -y build-essential wget \
6
  && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
7
 
8
  COPY .. .
@@ -12,7 +12,7 @@ FROM ubuntu:22.04 AS runtime
12
  WORKDIR /app
13
 
14
  RUN apt-get update && \
15
- apt-get install -y curl ffmpeg libsdl2-dev wget \
16
  && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
17
 
18
  COPY --from=build /app /app
 
2
  WORKDIR /app
3
 
4
  RUN apt-get update && \
5
+ apt-get install -y build-essential wget cmake \
6
  && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
7
 
8
  COPY .. .
 
12
  WORKDIR /app
13
 
14
  RUN apt-get update && \
15
+ apt-get install -y curl ffmpeg libsdl2-dev wget cmake \
16
  && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
17
 
18
  COPY --from=build /app /app