Tar fix
This commit is contained in:
@@ -27,7 +27,7 @@ WORKDIR /app
|
|||||||
RUN VERSION=$(curl -s https://api.github.com/repos/ggml-org/llama.cpp/releases/latest | grep '"tag_name"' | head -1 | sed 's/.*"tag_name": "\([^"]*\)".*/\1/') \
|
RUN VERSION=$(curl -s https://api.github.com/repos/ggml-org/llama.cpp/releases/latest | grep '"tag_name"' | head -1 | sed 's/.*"tag_name": "\([^"]*\)".*/\1/') \
|
||||||
&& echo "Last llama.cpp version: $VERSION" \
|
&& echo "Last llama.cpp version: $VERSION" \
|
||||||
&& curl -L https://github.com/ggml-org/llama.cpp/releases/download/${VERSION}/llama-${VERSION}-bin-ubuntu-vulkan-x64.tar.gz -o llama.tar.gz \
|
&& curl -L https://github.com/ggml-org/llama.cpp/releases/download/${VERSION}/llama-${VERSION}-bin-ubuntu-vulkan-x64.tar.gz -o llama.tar.gz \
|
||||||
&& tar -xzf llama.tar.gz -C . \
|
&& tar -xzf llama.tar.gz -C . --strip-components=1 \
|
||||||
&& rm llama.tar.gz
|
&& rm llama.tar.gz
|
||||||
|
|
||||||
RUN chmod +x /app/llama-server
|
RUN chmod +x /app/llama-server
|
||||||
|
|||||||
Reference in New Issue
Block a user