File tree Expand file tree Collapse file tree 7 files changed +21
-1
lines changed
tensorflow/ubi9-python-3.9 Expand file tree Collapse file tree 7 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ USER root
30
30
# Install usefull OS packages
31
31
RUN dnf install -y jq unixODBC git-lfs libsndfile
32
32
33
+ # Disable announcement plugin of jupyterlab
34
+ RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
35
+
33
36
# Install MongoDB Client, We need a special repo for MongoDB as they do their own distribution
34
37
COPY mongodb-org-6.0.repo-x86_64 /etc/yum.repos.d/mongodb-org-6.0.repo
35
38
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ USER root
30
30
# Install usefull OS packages
31
31
RUN dnf install -y jq unixODBC postgresql git-lfs libsndfile
32
32
33
+ # Disable announcement plugin of jupyterlab
34
+ RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
35
+
33
36
# Install MongoDB Client, We need a special repo for MongoDB as they do their own distribution
34
37
COPY mongodb-org-6.0.repo-x86_64 /etc/yum.repos.d/mongodb-org-6.0.repo
35
38
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ COPY Pipfile.lock start-notebook.sh ./
20
20
# Install Python dependencies from Pipfile.lock file
21
21
RUN echo "Installing softwares and packages" && micropipenv install && rm -f ./Pipfile.lock
22
22
23
+ # Disable announcement plugin of jupyterlab
24
+ RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
25
+
23
26
# Fix permissions to support pip in Openshift environments
24
27
RUN chmod -R g+w /opt/app-root/lib/python3.8/site-packages && \
25
28
fix-permissions /opt/app-root -P
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ COPY Pipfile.lock start-notebook.sh ./
20
20
# Install Python dependencies from Pipfile.lock file
21
21
RUN echo "Installing softwares and packages" && micropipenv install && rm -f ./Pipfile.lock
22
22
23
+ # Disable announcement plugin of jupyterlab
24
+ RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
25
+
23
26
# Fix permissions to support pip in Openshift environments
24
27
RUN chmod -R g+w /opt/app-root/lib/python3.9/site-packages && \
25
28
fix-permissions /opt/app-root -P
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ RUN echo "Installing softwares and packages" && \
18
18
micropipenv install && \
19
19
rm -f ./Pipfile.lock && \
20
20
# Replace Notebook's launcher, "(ipykernel)" with Python's version 3.x.y \
21
- sed -i -e "s/Python.*/$(python --version | cut -d '.' -f-2)\" ,/" /opt/app-root/share/jupyter/kernels/python3/kernel.json
21
+ sed -i -e "s/Python.*/$(python --version | cut -d '.' -f-2)\" ,/" /opt/app-root/share/jupyter/kernels/python3/kernel.json && \
22
+ # Disable announcement plugin of jupyterlab \
23
+ jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
22
24
23
25
# Fix permissions to support pip in Openshift environments
24
26
RUN chmod -R g+w /opt/app-root/lib/python3.9/site-packages && \
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ RUN echo "Installing softwares and packages" && micropipenv install && rm -f ./P
19
19
# Replace Notebook's launcher, "(ipykernel)" with Python's version 3.x.y
20
20
RUN sed -i -e "s/Python.*/$(python --version | cut -d '.' -f-2)\" ,/" /opt/app-root/share/jupyter/kernels/python3/kernel.json
21
21
22
+ # Disable announcement plugin of jupyterlab
23
+ RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
24
+
22
25
# Fix permissions to support pip in Openshift environments
23
26
RUN chmod -R g+w /opt/app-root/lib/python3.9/site-packages && \
24
27
fix-permissions /opt/app-root -P
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ RUN echo "Installing softwares and packages" && micropipenv install && rm -f ./P
28
28
# Replace Notebook's launcher, "(ipykernel)" with Python's version 3.x.y
29
29
RUN sed -i -e "s/Python.*/$(python --version | cut -d '.' -f-2)\" ,/" /opt/app-root/share/jupyter/kernels/python3/kernel.json
30
30
31
+ # Disable announcement plugin of jupyterlab
32
+ RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
33
+
31
34
# Fix permissions to support pip in Openshift environments
32
35
RUN chmod -R g+w /opt/app-root/lib/python3.9/site-packages && \
33
36
fix-permissions /opt/app-root -P
You can’t perform that action at this time.
0 commit comments