File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ FROM ${BASE_CUDA_DEV_CONTAINER} as build
1212ARG CUDA_DOCKER_ARCH=all
1313
1414RUN apt-get update && \
15- apt-get install -y build-essential git cmake libsdl2-dev
15+ apt-get install -y build-essential git cmake libsdl2-dev wget
1616
1717WORKDIR /app
1818
@@ -23,6 +23,6 @@ ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH}
2323# Enable cuBLAS
2424ENV GGML_CUDA=1
2525
26- RUN make
26+ RUN make base.en
2727
2828ENTRYPOINT ["/app/main" ]
Original file line number Diff line number Diff line change @@ -17,23 +17,23 @@ ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH}
1717ENV GGML_CUDA=1
1818
1919RUN apt-get update && \
20- apt-get install -y build-essential libsdl2-dev \
20+ apt-get install -y build-essential libsdl2-dev wget \
2121 && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
2222
2323# Ref: https://stackoverflow.com/a/53464012
2424ENV CUDA_MAIN_VERSION=12.3
2525ENV LD_LIBRARY_PATH /usr/local/cuda-${CUDA_MAIN_VERSION}/compat:$LD_LIBRARY_PATH
2626
2727COPY .. .
28- RUN make
28+ RUN make base.en
2929
3030FROM ${BASE_CUDA_RUN_CONTAINER} AS runtime
3131ENV CUDA_MAIN_VERSION=12.3
3232ENV LD_LIBRARY_PATH /usr/local/cuda-${CUDA_MAIN_VERSION}/compat:$LD_LIBRARY_PATH
3333WORKDIR /app
3434
3535RUN apt-get update && \
36- apt-get install -y curl ffmpeg \
36+ apt-get install -y curl ffmpeg wget \
3737 && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
3838
3939COPY --from=build /app /app
Original file line number Diff line number Diff line change @@ -2,17 +2,17 @@ FROM ubuntu:22.04 AS build
22WORKDIR /app
33
44RUN apt-get update && \
5- apt-get install -y build-essential \
5+ apt-get install -y build-essential wget \
66 && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
77
88COPY .. .
9- RUN make
9+ RUN make base.en
1010
1111FROM ubuntu:22.04 AS runtime
1212WORKDIR /app
1313
1414RUN apt-get update && \
15- apt-get install -y curl ffmpeg libsdl2-dev \
15+ apt-get install -y curl ffmpeg libsdl2-dev wget \
1616 && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
1717
1818COPY --from=build /app /app
You can’t perform that action at this time.
0 commit comments