@@ -23,45 +23,48 @@ RUN conda install --yes \
2323 cloudpickle \
2424 cython \
2525 dill \
26- # https://github.com/anaconda/nb_conda_kernels
27- nb_conda_kernels \
2826 jupytext \
2927 jupyterlab-geojson \
3028 jupyterlab-katex \
3129 jupyterlab-fasta \
3230 patsy \
3331 pip \
3432 statsmodels && \
35- # #
36- # # Now create separate environments, that are managed by nb_conda_kernels
37- # #
38- conda create -n ansible-kernel --yes ansible-kernel bioblend galaxy-ie-helpers && \
39- conda create -n bash -kernel --yes bash_kernel bioblend galaxy-ie-helpers && \
40- conda create -n octave-kernel --yes octave_kernel bioblend galaxy-ie-helpers && \
41- conda create -n python -kernel-3.12 --yes python=3.12 ipykernel bioblend galaxy-ie-helpers && \
42- conda create -n rlang-kernel --yes r-base r-irkernel r-xml rpy2 bioblend galaxy-ie-helpers \
43- 'r-caret ' \
44- 'r-crayon ' \
45- 'r-devtools ' \
46- 'r-e1071 ' \
47- 'r-forecast ' \
48- 'r-hexbin ' \
49- 'r-htmltools ' \
50- 'r-htmlwidgets ' \
51- 'r-irkernel ' \
52- 'r-nycflights13 ' \
53- 'r-randomforest ' \
54- 'r-rcurl ' \
55- 'r-rmarkdown ' \
56- 'r-rodbc ' \
57- 'r-rsqlite ' \
58- 'r-shiny ' \
59- 'r-tidymodels ' \
60- 'r-tidyverse' \
61- 'unixodbc' && \
33+ conda create -n bash-kernel --yes bash_kernel=0.10.0 bioblend galaxy-ie-helpers && \
34+ conda run -n bash-kernel python -m bash_kernel.install --user && \
35+ conda create -n ansible-kernel --yes ansible-kernel=1.0.0 jupyter_client bioblend galaxy-ie-helpers && \
36+ conda run -n ansible-kernel python -m ansible_kernel.install && \
37+ conda create -n octave -kernel --yes python=3.8 octave_kernel=0.36.0 bioblend galaxy-ie-helpers && \
38+ conda run -n octave-kernel python -m octave_kernel install --user && \
39+ conda create -n rlang -kernel --yes r-base r-irkernel=1.3.2 r-xml rpy2 bioblend galaxy-ie-helpers \
40+ 'r-caret' \
41+ 'r-crayon ' \
42+ 'r-devtools ' \
43+ 'r-e1071 ' \
44+ 'r-forecast ' \
45+ 'r-hexbin ' \
46+ 'r-htmltools ' \
47+ 'r-htmlwidgets ' \
48+ 'r-irkernel ' \
49+ 'r-nycflights13 ' \
50+ 'r-randomforest ' \
51+ 'r-rcurl ' \
52+ 'r-rmarkdown ' \
53+ 'r-rodbc ' \
54+ 'r-rsqlite ' \
55+ 'r-shiny ' \
56+ 'r-tidymodels ' \
57+ 'r-tidyverse ' \
58+ 'unixodbc' && \
59+ conda run -n rlang-kernel R -e "IRkernel::installspec(user = TRUE, name = 'rlang-kernel', displayname = 'R')" && \
6260 conda clean --all -y && \
6361 chmod a+w+r /opt/conda/ -R
6462
63+ RUN echo 'Sys.setenv(CONDA_PREFIX = "/opt/conda/envs/rlang-kernel")' >> /home/$NB_USER/.Rprofile && \
64+ echo 'Sys.setenv(PATH = paste("/opt/conda/envs/rlang-kernel/bin", Sys.getenv("PATH"), sep=":"))' >> /home/$NB_USER/.Rprofile && \
65+ echo 'Sys.setenv(PROJ_LIB = "/opt/conda/envs/rlang-kernel/share/proj")' >> /home/$NB_USER/.Rprofile && \
66+ chown $NB_USER /home/$NB_USER/.Rprofile
67+
6568ADD ./startup.sh /startup.sh
6669# ADD ./monitor_traffic.sh /monitor_traffic.sh
6770ADD ./get_notebook.py /get_notebook.py
0 commit comments