-
Notifications
You must be signed in to change notification settings - Fork 13
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
Improve devcontainers #120
Conversation
79b8e09
to
53bcc06
Compare
Looking at Tom P's comments in the other thread, I see that not copying across the renv from the OpenSAFELY R action image saves a bunch of space, but unless Tom updates his base image we're going to miss any updates to the OpenSAFELY R package list. Did the base rstudio image not work? |
6c0cf3e
to
f2394cc
Compare
The Dockerfile now references the base rocker image and in my testing works fine. Autocompletion in r-studio works and all the libraries in the renv are present. Image size is now 5.44GB, which isn't great but is better than 8GB. Need to double-check all things Python are fine |
This copies the updated dockerfile from the research-template repo (see this [PR](opensafely/research-template#120)).
This copies the updated dockerfile from the research-template repo (see this [PR](opensafely/research-template#120)).
This copies the updated dockerfile from the research-template repo (see this [PR](opensafely/research-template#120)).
This copies the updated dockerfile from the research-template repo (see this [PR](opensafely/research-template#120)).
This copies the updated dockerfile from the research-template repo (see this [PR](opensafely/research-template#120)).
This copies the updated dockerfile from the research-template repo (see this [PR](opensafely/research-template#120)).
This copies the updated dockerfile from the research-template repo (see this [PR](opensafely/research-template#120)).
This copies the updated dockerfile from the research-template repo (see this [PR](opensafely/research-template#120)).
This copies the updated dockerfile from the research-template repo (see this [PR](opensafely/research-template#120)).
fc046f6
to
a17f11a
Compare
a17f11a
to
597b597
Compare
Use the image from opensafely-core/research-template-docker rather than the Microsoft devcontainer image as a base. For this initial version, I build the image locally and uploaded it using these [instructions](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry).
Co-authored-by: Jon Massey <[email protected]>
408e1b2
to
f4a799f
Compare
d113a9f
to
289de8f
Compare
The ehrql extension is downloaded and referenced in vs code separately rather than being installed using pip because it requires a newer version of python (3.11 rather than the 3.10 required for the analysis code). Remove ehrql from requirements.in Co-authored-by: Jon Massey <[email protected]>
This is so we can use the packages copied over from the python action image. Co-authored-by: Jon Massey <[email protected]>
and remove vestigial config added for gitpod
289de8f
to
ee48aa5
Compare
References opensafely-core#43 and opensafely-core#9
Fixes #104 and opensafely-core#43.
This will provide a development environment for researchers containing:
This can be used in Codespaces or locally via devcontainers in VS Code.