add rust env
This commit is contained in:
@@ -125,6 +125,8 @@ USER ${NB_UID}
|
|||||||
ENV MAMBA_ROOT_PREFIX=/home/${CREATE_USER}/micromamba
|
ENV MAMBA_ROOT_PREFIX=/home/${CREATE_USER}/micromamba
|
||||||
RUN <<EOT
|
RUN <<EOT
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y texlive-full
|
||||||
micromamba create -n plot -c conda-forge scienceplots autopep8 python=3 ipykernel pandas numpy matplotlib scipy seaborn orange3 -y
|
micromamba create -n plot -c conda-forge scienceplots autopep8 python=3 ipykernel pandas numpy matplotlib scipy seaborn orange3 -y
|
||||||
micromamba run -n plot python -m pip install bamboolib
|
micromamba run -n plot python -m pip install bamboolib
|
||||||
micromamba run -n plot python -m ipykernel install --user --name="sciplot" --display-name="SCIPlot Environment"
|
micromamba run -n plot python -m ipykernel install --user --name="sciplot" --display-name="SCIPlot Environment"
|
||||||
@@ -137,6 +139,14 @@ mamba run -n mixtral_env python -m pip install
|
|||||||
mamba run -n mixtral_env python -m ipykernel install --user --name="mixtral" --display-name="mixtral Environment"
|
mamba run -n mixtral_env python -m ipykernel install --user --name="mixtral" --display-name="mixtral Environment"
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
# Install Rust
|
||||||
|
RUN <<EOT
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
|
source $HOME/.cargo/env
|
||||||
|
cargo install evcxr_jupyter
|
||||||
|
evcxr_jupyter --install
|
||||||
|
EOT
|
||||||
|
|
||||||
# # new env
|
# # new env
|
||||||
# RUN <<EOT
|
# RUN <<EOT
|
||||||
# #!/bin/bash
|
# #!/bin/bash
|
||||||
|
|||||||
Reference in New Issue
Block a user