Skip to content

Commit bf470da

Browse files
committed
fix(Dockerfile): -yqq for apt-get, apt-utils, extra deps
1 parent a3d8078 commit bf470da

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ RUN if [ -n "$http_proxy" ] ; then \
2121
ARG REQUESTS_CA_BUNDLE=${http_proxy:+/usr/local/share/ca-certificates/squid-self-signed.crt}
2222

2323
ARG DEBIAN_FRONTEND=noninteractive
24-
RUN apt-get update && apt-get install -yqq git
24+
RUN apt-get update
25+
RUN apt-get install -yq apt-utils
26+
RUN apt-get install -yqq git zstd wget curl
2527

2628
FROM base AS patchmatch
2729
ARG USE_PATCHMATCH=0
@@ -71,10 +73,10 @@ RUN if [ "$USE_DREAMBOOTH" = "1" ] ; then \
7173
# bitsandbytes==0.40.0.post4 had failed cuda detection on dreambooth test.
7274
pip install -r diffusers/examples/dreambooth/requirements.txt ; \
7375
fi
74-
RUN if [ "$USE_DREAMBOOTH" = "1" ] ; then apt-get install git-lfs ; fi
76+
RUN if [ "$USE_DREAMBOOTH" = "1" ] ; then apt-get install -yqq git-lfs ; fi
7577

7678
ARG USE_REALESRGAN=1
77-
RUN if [ "$USE_REALESRGAN" = "1" ] ; then apt-get install -y libgl1-mesa-glx libglib2.0-0 ; fi
79+
RUN if [ "$USE_REALESRGAN" = "1" ] ; then apt-get install -yqq libgl1-mesa-glx libglib2.0-0 ; fi
7880
RUN if [ "$USE_REALESRGAN" = "1" ] ; then git clone https://github.com/xinntao/Real-ESRGAN.git ; fi
7981
# RUN if [ "$USE_REALESRGAN" = "1" ] ; then pip install numba==0.57.1 chardet ; fi
8082
RUN if [ "$USE_REALESRGAN" = "1" ] ; then pip install basicsr==1.4.2 facexlib==0.2.5 gfpgan==1.3.8 ; fi

0 commit comments

Comments
 (0)