mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-26 11:45:21 +00:00
sycl: fix docker image (#14144)
This commit is contained in:
committed by
GitHub
parent
3cfbbdb44e
commit
40643edb86
@ -49,19 +49,23 @@ COPY --from=build /app/full /app
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update && \
|
||||||
&& apt-get install -y \
|
apt-get install -y \
|
||||||
git \
|
git \
|
||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
&& pip install --upgrade pip setuptools wheel \
|
python3-venv && \
|
||||||
&& pip install -r requirements.txt \
|
python3 -m venv /opt/venv && \
|
||||||
&& apt autoremove -y \
|
. /opt/venv/bin/activate && \
|
||||||
&& apt clean -y \
|
pip install --upgrade pip setuptools wheel && \
|
||||||
&& rm -rf /tmp/* /var/tmp/* \
|
pip install -r requirements.txt && \
|
||||||
&& find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete \
|
apt autoremove -y && \
|
||||||
&& find /var/cache -type f -delete
|
apt clean -y && \
|
||||||
|
rm -rf /tmp/* /var/tmp/* && \
|
||||||
|
find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete && \
|
||||||
|
find /var/cache -type f -delete
|
||||||
|
|
||||||
|
ENV PATH="/opt/venv/bin:$PATH"
|
||||||
|
|
||||||
ENTRYPOINT ["/app/tools.sh"]
|
ENTRYPOINT ["/app/tools.sh"]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user