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

Consider switching to universal devcontainers image #33

Closed
StevenMaude opened this issue Mar 14, 2024 · 2 comments
Closed

Consider switching to universal devcontainers image #33

StevenMaude opened this issue Mar 14, 2024 · 2 comments
Labels
development Tasks involving software development

Comments

@StevenMaude
Copy link

This is the default image for GitHub Codespaces if none is specified:

"image": "mcr.microsoft.com/devcontainers/universal:linux",

It adds no storage cost, unlike other images, and already has Python installed.

It seems to launch quickly for me, which is presumably because it's cached. Maybe that's no advantage if prebuilds are used.

The research template only uses a Python-specific image because that's what seemed sensible, when I first configured it through VSCode.

@StevenMaude StevenMaude added this to the Post-discovery ideas milestone Mar 14, 2024
@StevenMaude
Copy link
Author

StevenMaude commented Mar 20, 2024

One downside of this is that the version of the image or of Python can't be pinned. Whereas with the Python image, you can require 3.11.

The Python image has three benefits:

@lucyb
Copy link

lucyb commented Apr 5, 2024

I expect we'll want to install python 3.10, like version 2 of the python action image. So, I think anything that doesn't allow us to specify that exact version will not be a good idea.

We'll also probably want to install the relevant python (and maybe R packages, see #9) into the image, rather than install them at start up, so I expect we'll want to have a custom Dockerfile.

I'm going to close this issue for now, but if I've missed anything please comment or reopen it.

@lucyb lucyb closed this as completed Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Tasks involving software development
Projects
None yet
Development

No branches or pull requests

2 participants