Skip to content

Commit 5980b1a

Browse files
committed
devops : add cmake
1 parent 0415a66 commit 5980b1a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.devops/main-cuda.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH}
1717
ENV GGML_CUDA=1
1818

1919
RUN apt-get update && \
20-
apt-get install -y build-essential libsdl2-dev wget \
20+
apt-get install -y build-essential libsdl2-dev wget cmake \
2121
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
2222

2323
# Ref: https://stackoverflow.com/a/53464012
@@ -33,7 +33,7 @@ ENV LD_LIBRARY_PATH /usr/local/cuda-${CUDA_MAIN_VERSION}/compat:$LD_LIBRARY_PATH
3333
WORKDIR /app
3434

3535
RUN apt-get update && \
36-
apt-get install -y curl ffmpeg wget \
36+
apt-get install -y curl ffmpeg wget cmake \
3737
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
3838

3939
COPY --from=build /app /app

.devops/main.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ubuntu:22.04 AS build
22
WORKDIR /app
33

44
RUN apt-get update && \
5-
apt-get install -y build-essential wget \
5+
apt-get install -y build-essential wget cmake \
66
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
77

88
COPY .. .
@@ -12,7 +12,7 @@ FROM ubuntu:22.04 AS runtime
1212
WORKDIR /app
1313

1414
RUN apt-get update && \
15-
apt-get install -y curl ffmpeg libsdl2-dev wget \
15+
apt-get install -y curl ffmpeg libsdl2-dev wget cmake \
1616
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
1717

1818
COPY --from=build /app /app

0 commit comments

Comments
 (0)