Azure Docker image fails to build because python3.6 package cannot be installed
Bug report
- AirSim Version/#commit: main (current branch)
- UE/Unity version: N/A
- autopilot version: N/A
- OS Version: Windows 11
What's the issue you encountered?
While testing the Azure Docker deployment, I found that the Docker image cannot be built successfully.
The build fails when the Dockerfile attempts to install python3.6.
I reproduced the issue locally and investigated it inside the Docker base image before opening this report.
Settings
How can the issue be reproduced?
- Clone the AirSim repository.
- Navigate to the repository root.
- Run:
docker build -t airsim-azure -f azure/docker/Dockerfile azure- The build fails while installing
python3.6.
Include full error message in text form
E: Unable to locate package python3.6 E: Couldn't find any package by glob 'python3.6' E: Couldn't find any package by regex 'python3.6'
Investigation
To verify this was not a local Docker issue, I performed the following checks inside the base image (nvidia/cudagl:9.0-devel):
apt-get updatecompleted successfully.- The issue was reproduced both during Docker build and by manually inspecting the base image.
- Added
ppa:deadsnakes/ppasuccessfully. apt search python3.6returned no results.apt-cache policy python3.6also could not locate the package.
The build currently stops at:
RUN apt-get install -y \
python3.6 \
python3-pipI haven't proposed a code change because I'd first like to confirm the preferred direction for this deployment.
If this Azure deployment is still actively maintained, I'd be happy to work on a pull request once the preferred approach is confirmed..
What's better than filing an issue? Filing a pull request :).
Source: microsoft/AirSim