File tree Expand file tree Collapse file tree 6 files changed +13
-12
lines changed Expand file tree Collapse file tree 6 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ LABEL name="rhoai-notebook-base-rhel9-python-3.9" \
13
13
WORKDIR /opt/app-root/bin
14
14
15
15
# Install micropipenv to deploy packages from Pipfile.lock
16
- RUN pip install -U "micropipenv[toml]"
16
+ RUN pip install --no-cache-dir - U "micropipenv[toml]"
17
17
18
18
# Install Python dependencies from Pipfile.lock file
19
19
@@ -24,7 +24,7 @@ RUN echo "Installing softwares and packages" && micropipenv install && rm -f ./P
24
24
USER root
25
25
26
26
# Install usefull OS packages
27
- RUN dnf install -y mesa-libGL
27
+ RUN dnf install -y mesa-libGL && dnf clean all && rm -rf /var/cache/yum
28
28
29
29
# Other apps and tools installed as default user
30
30
USER 1001
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ PARAMS_ENV_PATH="manifests/base/params.env"
25
25
26
26
# This value needs to be updated everytime we deliberately change number of the
27
27
# images we want to have in the `params.env` file.
28
- EXPECTED_NUM_RECORDS=26
28
+ EXPECTED_NUM_RECORDS=27
29
29
30
30
# ---------------------------- DEFINED FUNCTIONS ----------------------------- #
31
31
@@ -185,7 +185,7 @@ function check_image_variable_matches_name_and_commitref() {
185
185
;;
186
186
odh-habana-notebook-image-n)
187
187
expected_name=" odh-notebook-habana-jupyter-1.13.0-ubi8-python-3.8"
188
- expected_commitref=" 2024a"
188
+ expected_commitref=" release- 2024a"
189
189
expected_build_name=" habana-jupyter-1.13.0-ubi8-python-3.8-amd64"
190
190
;;
191
191
odh-habana-notebook-image-n-1)
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ vars:
213
213
name : notebooks-parameters
214
214
apiVersion : v1
215
215
fieldref :
216
- fieldpath : data.odh-codeserver-notebook-n-1
216
+ fieldpath : data.odh-codeserver-notebook-image- n-1
217
217
- name : odh-minimal-notebook-image-commit-n
218
218
objref :
219
219
kind : ConfigMap
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ odh-trustyai-notebook-image-n-1=quay.io/modh/odh-trustyai-notebook@sha256:926ed1
23
23
odh-trustyai-notebook-image-n-2 = quay.io/modh/odh-trustyai-notebook@sha256:8c5e653f6bc6a2050565cf92f397991fbec952dc05cdfea74b65b8fd3047c9d4
24
24
odh-habana-notebook-image-n = quay.io/modh/odh-habana-notebooks@sha256:e300c9279587e93742d7cc9a982a286804ad6491f592e48ab6e4bba07c853b54
25
25
odh-habana-notebook-image-n-1 = quay.io/modh/odh-habana-notebooks@sha256:0f6ae8f0b1ef11896336e7f8611e77ccdb992b49a7942bf27e6bc64d73205d05
26
- odh-codeserver-notebook-n = quay.io/modh/codeserver@sha256:e682a0d2a3990525fb59de409664f3482f0a97bdfe7b440258da6a5b5617bddb
27
- odh-codeserver-notebook-n-1 = quay.io/modh/codeserver@sha256:14b73e8a62b98fb9a70cb079b6048121ab0a7798fe1eca0adf06b6716f280115
26
+ odh-codeserver-notebook-image- n = quay.io/modh/codeserver@sha256:e682a0d2a3990525fb59de409664f3482f0a97bdfe7b440258da6a5b5617bddb
27
+ odh-codeserver-notebook-image- n-1 = quay.io/modh/codeserver@sha256:14b73e8a62b98fb9a70cb079b6048121ab0a7798fe1eca0adf06b6716f280115
Original file line number Diff line number Diff line change @@ -107,4 +107,4 @@ varReference:
107
107
- path : spec/tags[]/from/name
108
108
kind : ImageStream
109
109
apiGroup : image.openshift.io/v1
110
- name : odh-codeserver-notebook-n-1
110
+ name : odh-codeserver-notebook-image- n-1
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ ENV R_LIBS_USER /opt/app-root/src/Rpackages/4.3
58
58
WORKDIR /tmp/
59
59
60
60
# Install RStudio
61
- RUN wget https://download2.rstudio.org/server/rhel9/x86_64/rstudio-server-rhel-2023.12.1-402-x86_64.rpm && \
61
+ RUN wget --progress=dot:giga https://download2.rstudio.org/server/rhel9/x86_64/rstudio-server-rhel-2023.12.1-402-x86_64.rpm && \
62
62
yum install -y rstudio-server-rhel-2023.12.1-402-x86_64.rpm && \
63
63
rm rstudio-server-rhel-2023.12.1-402-x86_64.rpm && \
64
64
yum -y clean all --enablerepo='*'
@@ -68,8 +68,9 @@ RUN chmod 1777 /var/run/rstudio-server && \
68
68
mkdir -p /usr/share/doc/R
69
69
COPY rstudio/rhel9-python-3.9/rsession.conf /etc/rstudio/rsession.conf
70
70
71
- # package installation
72
- RUN dnf install -y libsodium-devel.x86_64 libgit2-devel.x86_64 libcurl-devel harfbuzz-devel.x86_64 fribidi-devel.x86_64 cmake "flexiblas-*"
71
+ # package installation
72
+ RUN dnf install -y libsodium-devel.x86_64 libgit2-devel.x86_64 libcurl-devel harfbuzz-devel.x86_64 fribidi-devel.x86_64 cmake "flexiblas-*" && \
73
+ dnf clean all && rm -rf /var/cache/yum
73
74
RUN R -e "install.packages('Rcpp')"
74
75
75
76
# Install NGINX to proxy RStudio and pass probes check
@@ -142,4 +143,4 @@ WORKDIR /opt/app-root/src
142
143
143
144
USER 1001
144
145
145
- CMD /opt/app-root/bin/run-rstudio.sh
146
+ CMD [ " /opt/app-root/bin/run-rstudio.sh" ]
You can’t perform that action at this time.
0 commit comments