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

Fix ubuntu version in dockerfiles #241

Open
whamtet opened this issue Mar 30, 2023 · 6 comments
Open

Fix ubuntu version in dockerfiles #241

whamtet opened this issue Mar 30, 2023 · 6 comments

Comments

@whamtet
Copy link

whamtet commented Mar 30, 2023

Thanks for the great work @cnuernber , I'm getting some issues when I try to build the images in in dockerfiles and it looks like its because you're starting FROM ubuntu:latest. Can you remember what version you were able to build it from and set the number accordingly? On my Intel Mac with Docker Desktop it hangs on step 3 asking for geographic information.

@cnuernber
Copy link
Collaborator

@behrica - What version of docker are you using when you build images?

@whamtet
Copy link
Author

whamtet commented Mar 31, 2023

@cnuernber I think its the ubuntu version, not docker version. ubuntu:latest is not a fixed version so it has changed since the scripts were run successfully.

@cnuernber
Copy link
Collaborator

Right - sorry - my opinion is to upgrade to latest stable Ubuntu

@behrica
Copy link
Contributor

behrica commented Apr 1, 2023

Regarding the problem of "interactive" asking for something:

I have seen this from time to time, and there are usually specific command line options to prevent them.
But it is indeed a good idea to freeze teh ubuntu versions in

FROM ubuntu:latest

This make its more future proof.

I use various ubuntu versions, so I am not sure what is guaranteed to not have this problem.

The best thing would be to find a continously maintained Docker image which has python + Clojure preinstalled, and just refer to it.

@behrica
Copy link
Contributor

behrica commented Apr 1, 2023

The closetsI found was python + java:
https://github.com/jupyter/docker-stacks/blob/main/pyspark-notebook/Dockerfile

But is has a lot of other staff as well, so gets big.

@behrica
Copy link
Contributor

behrica commented Apr 1, 2023

an other pproach is to use "devcontainers".
This separates "base image" and "features added to it".
I made a working one here:
https://github.com/behrica/clojure-datascience-devcontainer

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

3 participants