Skip to content

Commit 818f229

Browse files
Add build-essential package (AbdBarho#522)
Fix the problem that some extensions need to be installed from src Now, because the step of installing extensions is moved forward in `entrypoint.sh` instead of `startup.sh`, we cannot install some required packages before executing `install.py` When installing the extension `sd-webui-roop`, it relies on `insightface==0.7.3`, and when installing this pypi package, it is found that when building the wheel package, an error will be reported because `gcc` cannot be found https://github.com/s0md3v/sd-webui-roop/blob/ddc02ee1a914ba387fa338f9542ec16d128c56e5/requirements.txt#L1 Therefore, considering that not all pypi packages are distributed in wheel, those pypi packages distributed in src need `build-essential` to build
1 parent 4dd82b3 commit 818f229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: services/AUTOMATIC1111/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN --mount=type=cache,target=/var/cache/apt \
3030
# we need those
3131
apt-get install -y fonts-dejavu-core rsync git jq moreutils aria2 \
3232
# extensions needs those
33-
ffmpeg libglfw3-dev libgles2-mesa-dev pkg-config libcairo2 libcairo2-dev
33+
ffmpeg libglfw3-dev libgles2-mesa-dev pkg-config libcairo2 libcairo2-dev build-essential
3434

3535

3636
RUN --mount=type=cache,target=/cache --mount=type=cache,target=/root/.cache/pip \

0 commit comments

Comments
 (0)