mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-09-03 14:00:10 +08:00
.
This commit is contained in:
parent
8e5e624a72
commit
b11931c1bd
@ -25,6 +25,20 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bash anaconda.sh -b -p "$HOME/anaconda3"
|
LOG_PATH="/tmp/anaconda-install.log"
|
||||||
|
|
||||||
|
bash anaconda.sh -b -p "$HOME/anaconda3" >"$LOG_PATH" 2>&1
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo "== Anaconda Installed =="
|
||||||
|
else
|
||||||
|
echo "Failed to Install Anaconda"
|
||||||
|
tail -n 50 "$LOG_PATH"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
rm anaconda.sh
|
rm anaconda.sh
|
||||||
|
|
||||||
|
rm $LOG_PATH
|
||||||
|
|
||||||
|
"$HOME/anaconda3/bin/conda" clean -p
|
||||||
|
@ -11,7 +11,7 @@ ARG CUDA_VERSION=12.4
|
|||||||
ENV CUDA_VERSION=${CUDA_VERSION}
|
ENV CUDA_VERSION=${CUDA_VERSION}
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||||
apt-get install -y -q --no-install-recommends \
|
apt-get install -y -qq --no-install-recommends \
|
||||||
build-essential \
|
build-essential \
|
||||||
gcc \
|
gcc \
|
||||||
g++ \
|
g++ \
|
||||||
@ -36,10 +36,12 @@ ENV LITE=${LITE}
|
|||||||
ARG WORKFLOW=false
|
ARG WORKFLOW=false
|
||||||
ENV WORKFLOW=${WORKFLOW}
|
ENV WORKFLOW=${WORKFLOW}
|
||||||
|
|
||||||
ARG TARGETPLATFORM=linux/amd64
|
ARG TARGETPLATFORM
|
||||||
ENV TARGETPLATFORM=${TARGETPLATFORM}
|
ENV TARGETPLATFORM=${TARGETPLATFORM}
|
||||||
RUN echo "${TARGETPLATFORM}" && echo ${WORKFLOW}
|
RUN echo "${TARGETPLATFORM}" && echo ${WORKFLOW}
|
||||||
|
|
||||||
|
ENV HOME="/root"
|
||||||
|
|
||||||
RUN bash Docker/anaconda_install.sh
|
RUN bash Docker/anaconda_install.sh
|
||||||
|
|
||||||
RUN echo "== $HOME/anaconda3/pkgs ==" && du -h --max-depth=2 $HOME/anaconda3/pkgs | sort -hr | head -n 10 && \
|
RUN echo "== $HOME/anaconda3/pkgs ==" && du -h --max-depth=2 $HOME/anaconda3/pkgs | sort -hr | head -n 10 && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user