ENV GGML_CUDA=1
RUN apt-get update && \
- apt-get install -y build-essential libsdl2-dev \
+ apt-get install -y build-essential libsdl2-dev wget \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
# Ref: https://stackoverflow.com/a/53464012
ENV LD_LIBRARY_PATH /usr/local/cuda-${CUDA_MAIN_VERSION}/compat:$LD_LIBRARY_PATH
COPY .. .
-RUN make
+RUN make base.en
FROM ${BASE_CUDA_RUN_CONTAINER} AS runtime
ENV CUDA_MAIN_VERSION=12.3
WORKDIR /app
RUN apt-get update && \
- apt-get install -y curl ffmpeg \
+ apt-get install -y curl ffmpeg wget \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
COPY --from=build /app /app
WORKDIR /app
RUN apt-get update && \
- apt-get install -y build-essential \
+ apt-get install -y build-essential wget \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
COPY .. .
-RUN make
+RUN make base.en
FROM ubuntu:22.04 AS runtime
WORKDIR /app
RUN apt-get update && \
- apt-get install -y curl ffmpeg libsdl2-dev \
+ apt-get install -y curl ffmpeg libsdl2-dev wget \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
COPY --from=build /app /app