mirror of
				https://github.com/AbdBarho/stable-diffusion-webui-docker.git
				synced 2025-10-31 02:03:32 -04:00 
			
		
		
		
	Add build-essential package (#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
ddc02ee1a9/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
			
			
This commit is contained in:
		| @@ -30,7 +30,7 @@ RUN --mount=type=cache,target=/var/cache/apt \ | |||||||
|   # we need those |   # we need those | ||||||
|   apt-get install -y fonts-dejavu-core rsync git jq moreutils aria2 \ |   apt-get install -y fonts-dejavu-core rsync git jq moreutils aria2 \ | ||||||
|   # extensions needs those |   # extensions needs those | ||||||
|   ffmpeg libglfw3-dev libgles2-mesa-dev pkg-config libcairo2 libcairo2-dev |   ffmpeg libglfw3-dev libgles2-mesa-dev pkg-config libcairo2 libcairo2-dev build-essential | ||||||
|  |  | ||||||
|  |  | ||||||
| RUN --mount=type=cache,target=/cache --mount=type=cache,target=/root/.cache/pip \ | RUN --mount=type=cache,target=/cache --mount=type=cache,target=/root/.cache/pip \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user