From da4d30c79fdeb792e08ff98db5d5d2eaa1f6fa79 Mon Sep 17 00:00:00 2001 From: Eli Holmes - NOAA Date: Wed, 9 Oct 2024 08:51:30 -0700 Subject: [PATCH 1/3] Delete postBuild --- postBuild | 9 --------- 1 file changed, 9 deletions(-) delete mode 100755 postBuild diff --git a/postBuild b/postBuild deleted file mode 100755 index eea666a..0000000 --- a/postBuild +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -l -set -euo pipefail - -# Put our custom Jupyter Server config into appropriate platform -# This path is determined by looking at output of `jupyter --path` in the hub -# We copy both to notebook server config and jupyter server config, because either can be -# used in the JupyterHub. -cp custom_jupyter_server_config.json ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_server_config.d/ -cp custom_jupyter_server_config.json ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_notebook_config.d/ From 512c8c647145907bfd280ed76e376a4ca9f4734f Mon Sep 17 00:00:00 2001 From: Eli Holmes - NOAA Date: Wed, 9 Oct 2024 08:52:05 -0700 Subject: [PATCH 2/3] Delete start --- start | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 start diff --git a/start b/start deleted file mode 100644 index 664be6a..0000000 --- a/start +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash -set -euo pipefail - -# Set any environment variables here -# These are inherited by all processes, *except* RStudio - -# Tell applications where to open desktop apps - this allows notebooks to -# pop open GUIs -export DISPLAY=":1.0" - -# The for loops will fail if they return null (no files). Set shell option nullglob -shopt -s nullglob - -# Add any .desktop files to the application database and desktop. This is done -# at startup-time because it's expected that a remote filesystem will be -# mounted at $HOME, which would overwrite the data if it was created at -# build-time. -APPLICATIONS_DIR="${HOME}/.local/share/applications" -DESKTOP_DIR="${HOME}/Desktop" -mkdir -p "${APPLICATIONS_DIR}" -mkdir -p "${DESKTOP_DIR}" -for desktop_file_path in ${REPO_DIR}/*.desktop; do - cp "${desktop_file_path}" "${APPLICATIONS_DIR}/." - - # Symlink application to desktop - desktop_file_name="$(basename ${desktop_file_path})" - ln -sf "${APPLICATIONS_DIR}/${desktop_file_name}" "${DESKTOP_DIR}/${desktop_file_name}" -done -update-desktop-database "${APPLICATIONS_DIR}" - -# Add MIME Type data from XML files in `mime/` dir to the MIME database. -MIME_DIR="${HOME}/.local/share/mime" -MIME_PACKAGES_DIR="${MIME_DIR}/packages" -mkdir -p "${MIME_PACKAGES_DIR}" -for mime_file_path in ${REPO_DIR}/mime/*.xml; do - cp "${mime_file_path}" "${MIME_PACKAGES_DIR}/." -done -update-mime-database "${MIME_DIR}" - -exec "$@" From 3bbb7b46d7816c39e5075bae65eb4df942384266 Mon Sep 17 00:00:00 2001 From: Eli Holmes - NOAA Date: Wed, 9 Oct 2024 08:52:39 -0700 Subject: [PATCH 3/3] Delete custom_jupyter_server_config.json --- custom_jupyter_server_config.json | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 custom_jupyter_server_config.json diff --git a/custom_jupyter_server_config.json b/custom_jupyter_server_config.json deleted file mode 100644 index ba62640..0000000 --- a/custom_jupyter_server_config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ContentsManager": { - "allow_hidden": true - } -}