change to mojo
This commit is contained in:
@@ -109,14 +109,9 @@ ENV PATH="$MODULAR_HOME/pkg/packages.modular.com_mojo/bin:/home/${CREATE_USER}/.
|
|||||||
RUN <<EOT
|
RUN <<EOT
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
curl https://get.modular.com | sh -
|
curl https://get.modular.com | sh -
|
||||||
mamba create -n mojo python=3.10 -y
|
mamba create -n mojo python=3.10 -c conda-forge -y
|
||||||
mamba activate mojo
|
mamba activate mojo
|
||||||
modular install mojo
|
modular install mojo
|
||||||
export MOJO_PATH=$(modular config mojo.path)
|
|
||||||
export BASHRC=$( [ -f "$HOME/.bash_profile" ] && echo "$HOME/.bash_profile" || echo "$HOME/.bashrc" )
|
|
||||||
echo 'export MODULAR_HOME="'$HOME'/.modular"' >> "$BASHRC"
|
|
||||||
echo 'export PATH="'$MOJO_PATH'/bin:$PATH"' >> "$BASHRC"
|
|
||||||
source "$BASHRC"
|
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
# Install Rust
|
# Install Rust
|
||||||
|
|||||||
Reference in New Issue
Block a user