You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the Docker container fastai:fastai/latest for a project I'm working on. I need to install the onnxruntime-gpu and opencv-python-headless packages using pip. I thought I needed some extra dependencies from apt, so I attempted to update the package list before installing, but this threw an error.
Dockerfile:
FROM fastai/fastai:latest
RUN apt-get update
ENTRYPOINT ["/bin/bash", "-c"]
The build fails because the GitHub CLI PPA has no release file for Ubuntu 22.04 LTS ‘Jammy Jellyfish.’ In the Dockerfile, I remove this repository before pulling updates, which fixes the build error.
Dockerfile:
FROM fastai/fastai:latest
RUN add-apt-repository -r https://cli.github.com/packages
RUN apt-get update
ENTRYPOINT ["/bin/bash", "-c"]
I had one of those moments where the original problem was fixed while I worked on this nested problem. I thought I should bring it to your attention nonetheless.
I'd also like to say: I've been using fastai for over a year now. Many thanks for developing such a great module along with fastbook and nbdev. They've all been great assets as I've learned about neural networks and modern software development.
The text was updated successfully, but these errors were encountered:
Hello!
I'm using the Docker container
fastai:fastai/latest
for a project I'm working on. I need to install the onnxruntime-gpu and opencv-python-headless packages using pip. I thought I needed some extra dependencies from apt, so I attempted to update the package list before installing, but this threw an error.Dockerfile
:This fails as so:
Terminal Output
The build fails because the GitHub CLI PPA has no release file for Ubuntu 22.04 LTS ‘Jammy Jellyfish.’ In the Dockerfile, I remove this repository before pulling updates, which fixes the build error.
Dockerfile
:I had one of those moments where the original problem was fixed while I worked on this nested problem. I thought I should bring it to your attention nonetheless.
I'd also like to say: I've been using fastai for over a year now. Many thanks for developing such a great module along with fastbook and nbdev. They've all been great assets as I've learned about neural networks and modern software development.
The text was updated successfully, but these errors were encountered: