> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Environment build fails with "The method driver /usr/lib/apt/methods/https could not be found"

> Fix a compute environment build failure caused by missing apt-transport-https by adding a RUN apt-get install command to your Dockerfile before other apt commands.

The following error in a compute environment build

"*The method driver /usr/lib/apt/methods/https could not be found.*"

indicates that the "apt-transport-https" package is not installed. To correct this in your compute environment add the following line to your docker definition in the compute image prior to any other apt commands.

```
RUN apt-get install apt-transport-https -y
```


## Related topics

- [Troubleshooting](/knowledge-base/troubleshooting-overview.md)
- [FailedMount event "efs.csi.aws.com not found in the list of registered CSI drivers"](/knowledge-base/failedmount-event-efs-csi-aws-com-not-found-in-the-list-of-registered-csi-drivers.md)
- [uwsgi: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory](/knowledge-base/uwsgi-error-while-loading-shared-libraries-libpcre-so-1-cannot-open-shared-object-file-no-such-file-or-directory.md)
- [Build error for nvidia GPG key](/knowledge-base/build-error-for-nvidia-gpg-key.md)
