Deploying with a private GitHub repository
If you are coding for a side project, company, or paid feature, you will be working with private GitHub repositories. This makes sense as we do not want people accessing a repository for free that you or your company plans on charging them for. However, if we set our Rust Fibonacci package's GitHub repository to private, delete all of our Flask images using the docker image rm YOUR_IMAGE_ID_HERE
command, and run our docker build . -t flask-fib
command again, we would get the following printout:
Collecting git+https://github.com/maxwellflitton/flitton- fib-rs@main Running command git clone -q https://github.com/maxwellflitton/ flitton-fib-rs /tmp/pip-req-build-ctmjnoq0 Cloning https://github.com/maxwellflitton/flitton-fib-rs (to revision main) to /tmp/pip-req-build-ctmjnoq0 fatal: could not read Username for 'https://github.com': No such device or address
This is because our isolated Linux-based Docker image that is...