From defa0c025c691c4efbf1b09d012f07c3badc892a Mon Sep 17 00:00:00 2001 From: samiabat Date: Tue, 1 Apr 2025 21:39:47 +0300 Subject: [PATCH] add version to dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 93eb3ab3..4e5a9dbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,6 @@ LABEL description="Docker image for GPT-SoVITS" ENV DEBIAN_FRONTEND=noninteractive ENV TZ=Etc/UTC RUN apt-get update && \ - apt-get install -y cmake \ apt-get install -y --no-install-recommends tzdata ffmpeg libsox-dev parallel aria2 git git-lfs && \ git lfs install && \ rm -rf /var/lib/apt/lists/* @@ -18,7 +17,7 @@ RUN apt-get update && \ # Copy only requirements.txt initially to leverage Docker cache WORKDIR /workspace COPY requirements.txt /workspace/ -RUN pip install --no-cache-dir -r requirements.txt +RUN CMAKE_POLICY_VERSION_MINIMUM=3.5 pip install --no-cache-dir -r requirements.txt # Define a build-time argument for image type ARG IMAGE_TYPE=full