Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu Hirsute no longer supported: could I update the Dockerfile? #150

Open
3willows opened this issue Jun 1, 2024 · 0 comments
Open

Comments

@3willows
Copy link

3willows commented Jun 1, 2024

First, thank you Jeroen for a really wonderful book. The examples and pace are just right for me!

Second, the official Docker Image (from docker pull datasciencetoolbox/dsatcl2e) seems to use Ubuntu 21.0 (hirsute). (Cf. the result when I run lsb_release -a).

But this means that I cannot run sudo apt update because

E: The repository 'http://security.ubuntu.com/ubuntu hirsute-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

I tried to get around it by changing the source to an archive for outdated ubuntu versions, cf. with this tip.

But with this solution, every time I restart the docker image, everything seems to just revert back. (I am new to Docker, so I am probably missing a trick or two with saving my changes properly).

But in any case, my understanding is that this is not an ideal solution because the archived ubuntu versions are no longer supported.

So, third, I am now looking for a way to update the Dockerfile, so that it installs the latest Ubuntu version instead.

I have had a look at the Docker Hub webpage, but all I can find is the image, not the file. I also tried looking both within the Docker image and also the github repository.

Am I correct that the Docker File is not publicly released? If not, would you consider doing so and potentially opening it for pull requests?

Thank you so much.

PS Apologies if any of the above betrayed confusion about Docker concepts: I will pick up your recommended further reading,"Docker Up and Running", next time I'm in the library!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant