Describe the bug
When the container is started without an internet connection, it fails. It seems like it doesnt even get to starting photon.
I think uv run is trying to build or install dependencies when the container is starting up, but that should happen at build time in the Dockerfile.
To Reproduce
Execute this command:
docker run --rm -it --network=none rtuszik/photon-docker:2.2.0
Expected behavior
The container should start up, and be ready for file import.
photon-docker configuration:
None
System Info
- Host OS: Debian
- Host Type: VM
Debug Logs
× Failed to build `photon-docker @ file:///photon`
├─▶ Failed to resolve requirements from `build-system.requires`
├─▶ No solution found when resolving: `uv-build>=0.11.7, <0.12.0`
├─▶ Request failed after 3 retries in 25.5s
├─▶ Failed to fetch: `https://pypi.org/simple/uv-build/`
├─▶ error sending request for url (https://pypi.org/simple/uv-build/)
├─▶ client error (Connect)
├─▶ dns error
╰─▶ failed to lookup address information: Try again
Describe the bug
When the container is started without an internet connection, it fails. It seems like it doesnt even get to starting photon.
I think
uv runis trying to build or install dependencies when the container is starting up, but that should happen at build time in the Dockerfile.To Reproduce
Execute this command:
Expected behavior
The container should start up, and be ready for file import.
photon-dockerconfiguration:None
System Info
Debug Logs