-
Notifications
You must be signed in to change notification settings - Fork 57
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
Install R-Packages with version lock #405
Conversation
b7a0875
to
1b0ae09
Compare
/retest |
d5cd2fd
to
01e400d
Compare
901af23
to
b138ce0
Compare
b138ce0
to
6fac19e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed this PR for review.
Took a quick look.
this is missing the ARG
which this the variable $NEEDPACKAGE
cant be used.
please include it .
will look thoroughly over this.
6fac19e
to
c8980fc
Compare
/retest-required |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to build with or without the extra packages.
Added some minor enhancements, about the dockerfile syntax
e91b91c
to
16a9c6a
Compare
I've noticed that during the image building process, you can observe the packages being installed. However, upon completion, when you spin up the notebook, the installed packages are mysteriously absent. |
@@ -50,9 +50,12 @@ COPY rsession.conf /etc/rstudio/rsession.conf | |||
# package installation | |||
RUN dnf install -y libsodium-devel.x86_64 libgit2-devel.x86_64 libcurl-devel harfbuzz-devel.x86_64 fribidi-devel.x86_64 cmake "flexiblas-*" \ | |||
&& dnf clean all && rm -rf /var/cache/yum | |||
RUN R -e "install.packages('Rcpp')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this line is been deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have decided to add it to the install.versions to be able to version lock this package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have in mind this should be installed before any other package
'
Outdated
@@ -0,0 +1,24 @@ | |||
# This is a combination of 2 commits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file was probably added (and also created) by some mistake; it should be removed from PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following changes are needed:
This is happening due the R_LIBS_USER is set to as the @dibryant please make this change |
/retest-required |
Seems like following additional changes are required at this: cp -r /opt/app-root/bin/Rpackages/4.3/* /opt/app-root/src/Rpackages/4.3/
as the during the runtime |
Right, the same situation occurred with code-server extensions, leading us to include their installation in the startup .sh script. |
@dibryant: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: harshad16 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
fixes for https://issues.redhat.com/browse/RHOAIENG-2799
Description
Added R packages with fixed version lock
How Has This Been Tested?
Use either the image build in the PR or built from this commit:
And the run the image in local or directly in cluster
Merge criteria: