lemonteaa commited on
Commit
bff5af8
·
verified ·
1 Parent(s): a7e66dd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -14,7 +14,12 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
 
17
- RUN wget -qO- "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-linux-x86_64.tar.gz" | sudo tar --strip-components=1 -xz -C /usr/local
 
 
 
 
 
18
 
19
  RUN git clone https://github.com/ikawrakow/ik_llama.cpp.git
20
  WORKDIR /app/ik_llama.cpp/
 
14
 
15
  COPY --chown=user . /app
16
 
17
+ USER root
18
+ RUN wget -qO- "https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local
19
+ RUN ls -la /usr/local/cmake
20
+ RUN chmod a+x /usr/local/cmake/*
21
+
22
+ USER user
23
 
24
  RUN git clone https://github.com/ikawrakow/ik_llama.cpp.git
25
  WORKDIR /app/ik_llama.cpp/