diff --git a/Dockerfile b/Dockerfile index 3531038118204dec7244bd325d9014573619d5f8..d72745d8d2df801cdab4c7a88e85b54effb5aba1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,13 +8,17 @@ FROM renku/renkulab-py:3.7-renku0.10.4-0.6.3 # Uncomment and adapt if your R or python packages require extra linux (ubuntu) software # e.g. the following installs apt-utils and vim; each pkg on its own line, all lines # except for the last end with backslash '\' to continue the RUN line -# -# USER root -# RUN apt-get update && \ -# apt-get install -y --no-install-recommends \ -# apt-utils \ -# vim -# USER ${NB_USER} + +USER root +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + apt-utils \ + cd /home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtest + wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz + tar -xvzf geckodriver* + chmod +x geckodriver + export PATH=$PATH:/home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtests/. +USER ${NB_USER} # install the python dependencies COPY requirements.txt environment.yml /tmp/ @@ -24,7 +28,6 @@ RUN conda env update -q -f /tmp/environment.yml && \ conda env export -n "root" # add chromedriver and geckodriver to PATH -ENV PATH "$PATH:/home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtest/chromedriver" + ENV PATH="/home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtest/geckodriver:${PATH}" -ENV PATH="notebooks/Block_5/Seleniumtest/chromedriver:${PATH}" ENV PATH "$PATH:/notebooks/Block_5/Seleniumtest/geckodriver" diff --git a/notebooks/Block_5/Seleniumtest/chromedriver b/notebooks/Block_5/Seleniumtest/chromedriver deleted file mode 100755 index 6ee2a44f820cac1b5d8b4a067ec15c5298e4b563..0000000000000000000000000000000000000000 Binary files a/notebooks/Block_5/Seleniumtest/chromedriver and /dev/null differ diff --git a/notebooks/Block_5/Seleniumtest/chromedriver_linux64.zip b/notebooks/Block_5/Seleniumtest/chromedriver_linux64.zip deleted file mode 100644 index c3a888c952398cc8dde783d4ca3db3426f1a9743..0000000000000000000000000000000000000000 Binary files a/notebooks/Block_5/Seleniumtest/chromedriver_linux64.zip and /dev/null differ diff --git a/notebooks/Block_5/Seleniumtest/geckodriver b/notebooks/Block_5/Seleniumtest/geckodriver deleted file mode 100755 index bac836bb55f7bec9306c70d7be0e223cef468e3e..0000000000000000000000000000000000000000 Binary files a/notebooks/Block_5/Seleniumtest/geckodriver and /dev/null differ diff --git a/notebooks/Block_5/Seleniumtest/geckodriver-v0.24.0-linux64.tar.gz b/notebooks/Block_5/Seleniumtest/geckodriver-v0.24.0-linux64.tar.gz deleted file mode 100644 index f85fb6032ec71cb59cc0a802229ba6271222ad8c..0000000000000000000000000000000000000000 Binary files a/notebooks/Block_5/Seleniumtest/geckodriver-v0.24.0-linux64.tar.gz and /dev/null differ