From 3e7bc08555a868fcfdbf6575033c18efb1160ec7 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 1 Oct 2022 21:44:43 -0700 Subject: [PATCH] Removed selenium --- jupyter/README.md | 1 - jupyter/build/build.fish | 5 ++--- jupyter/build/selenium.Dockerfile | 27 --------------------------- 3 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 jupyter/build/selenium.Dockerfile diff --git a/jupyter/README.md b/jupyter/README.md index 87fd682..0ac108c 100644 --- a/jupyter/README.md +++ b/jupyter/README.md @@ -50,7 +50,6 @@ The second line sets a persistent token. If this config value is unset, jupyter ## TODO - Auto dark theme - Fix sage - - Selenium (broken) - GPU support ([source](https://github.com/iot-salzburg/gpu-jupyter)) - Haskell ([source](https://github.com/IHaskell/ihaskell-notebook)) - Rust Kernel diff --git a/jupyter/build/build.fish b/jupyter/build/build.fish index dd99ce3..9823290 100755 --- a/jupyter/build/build.fish +++ b/jupyter/build/build.fish @@ -55,10 +55,9 @@ build_image false r build_image false julia #build_image false haskell (BROKEN) #build_image false sage (BROKEN) -#build_image false selenium (BROKEN) -build_image false plugins -build_image false pymodules +#build_image false plugins +#build_image false pymodules # Rename final image docker image tag betalupi/jupyter-inter-(math $img_idx) git.betalupi.com/mark/jupyter diff --git a/jupyter/build/selenium.Dockerfile b/jupyter/build/selenium.Dockerfile deleted file mode 100644 index 057d129..0000000 --- a/jupyter/build/selenium.Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -ARG BASE_CONTAINER=betalupi/jupyter-base -FROM $BASE_CONTAINER -LABEL maintainer="Mark " - -USER ${NB_UID} - -RUN mamba install --yes \ - "selenium" \ - && \ - # Cleanup - mamba clean --all -f -y && \ - npm cache clean --force && \ - jupyter lab clean && \ - rm -rf "/home/${NB_USER}/.cache/yarn" && \ - fix-permissions "${CONDA_DIR}" && \ - fix-permissions "/home/${NB_USER}" - -# Install google chrome -RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - -RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/pt/#sources.list.d/google-chrome.list' -RUN apt-get -y update -RUN apt-get install -y google-chrome-stable - -# Install chromedriver -RUN apt-get install -yqq unzip -RUN wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`/chromedriver_linux64.zip -RUN unzip /tmp/chromedriver.zip chromedriver -d /usr/local/bin/ \ No newline at end of file