-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add rstudio-server to r image as rstudio image #164
Open
remlapmot
wants to merge
9
commits into
main
Choose a base branch
from
investigate-rstudio-server-iteration-3-root-squashed
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add rstudio-server to r image as rstudio image #164
remlapmot
wants to merge
9
commits into
main
from
investigate-rstudio-server-iteration-3-root-squashed
+172
−1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remlapmot
force-pushed
the
investigate-rstudio-server-iteration-3-root-squashed
branch
from
September 27, 2024 10:11
1c9786c
to
437d127
Compare
bloodearnest
reviewed
Oct 1, 2024
bloodearnest
reviewed
Oct 1, 2024
remlapmot
force-pushed
the
investigate-rstudio-server-iteration-3-root-squashed
branch
3 times, most recently
from
October 4, 2024 09:05
ba453e7
to
c8265c9
Compare
As suggested I have also added a test, which checks for a 200 response from the localhost port. (Nb. the test uses the rstudio image, rather than ghcr.io/opensafely-core/rstudio:latest image, as I assume the flow is build, test, publish). Run the test with
|
remlapmot
force-pushed
the
investigate-rstudio-server-iteration-3-root-squashed
branch
3 times, most recently
from
October 4, 2024 10:28
cc723e1
to
9a84b47
Compare
remlapmot
force-pushed
the
investigate-rstudio-server-iteration-3-root-squashed
branch
from
October 8, 2024 10:56
9a84b47
to
5083d15
Compare
I have added the |
remlapmot
force-pushed
the
investigate-rstudio-server-iteration-3-root-squashed
branch
from
October 10, 2024 10:22
5083d15
to
503efc7
Compare
remlapmot
force-pushed
the
investigate-rstudio-server-iteration-3-root-squashed
branch
from
October 14, 2024 10:11
503efc7
to
97f8d9c
Compare
This is a bit cleaner and easier. Also tweak the Dockerfile to create the user with group/dir in one step, remove some uneeded bits, and give up on logs.
Easy to change and use.
This uses process substitution to tail the log file and direct it to stdout.
bloodearnest
approved these changes
Oct 15, 2024
remlapmot
force-pushed
the
investigate-rstudio-server-iteration-3-root-squashed
branch
from
October 16, 2024 10:11
c4cc77f
to
98c6beb
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds rstudio-server to the r image, as a new rstudio image.
Build with
Then until rstudio image published in ghcr.io/opensafely-core retag as
Is used by the new
opensafely rstudio
subcommand in opensafely-core/opensafely-cli#272.To launch, from an OpenSAFELY research repo run
opensafely rstudio