Skip to content

Commit

Permalink
feature(add rlang #9): install conda silently add conda bin to path
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Baptiste-Lasselle committed Mar 9, 2024
1 parent 8c4cb67 commit 2d19db2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion oci/deno-jupyter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ RUN mkdir -p /kernels/extras/ && mkdir -p /kernels/ops/
WORKDIR /kernels/ops/
COPY add-rlang-kernel.sh .
RUN chmod +x ./add-rlang-kernel.sh && ./add-rlang-kernel.sh
RUN RUN bash -c ''
RUN RUN bash -c 'echo "in docker build, check conda install:" && conda --version'

WORKDIR /usr/dataviz/notebooks/decoderleco
6 changes: 6 additions & 0 deletions oci/deno-jupyter/add-rlang-kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ sha256sum -c ./conda.sha256.checksum
mkdir -p $HOME/anaconda3
bash ${CONDA_INSTALLER_FILENAME} -b -f -p $HOME/anaconda3
export PATH=$PATH:$HOME/anaconda3
export "After conda installation, content of [$HOME/anaconda3]"
ls -alh $HOME/anaconda3
alias $HOME/anaconda3/anaconda
conda --version
which conda
echo "# -----------"
Expand All @@ -49,8 +52,11 @@ echo " Content of bashrc after conda installation + update:"
cat ~/.bashrc
echo "# -----------"
conda --version
echo "# -----------"
conda install --help
# ----
# Install the R language and its jupyter kernel
# > https://github.com/IRkernel/IRkernel : in the requirements, that the R language platform is installed
#

echo 'y\n' | conda install -c r r-irkernel

0 comments on commit 2d19db2

Please sign in to comment.