Skip to content
Snippets Groups Projects
Commit 228796f5 authored by Fortune Iriaye's avatar Fortune Iriaye
Browse files

Update Dockerfile

parent 811936fc
No related branches found
No related tags found
No related merge requests found
Pipeline #13306 passed with stage
in 11 minutes and 42 seconds
...@@ -46,17 +46,5 @@ RUN conda create --name neuroestimator -y \ ...@@ -46,17 +46,5 @@ RUN conda create --name neuroestimator -y \
RUN /bin/bash -c "source activate neuroestimator && \ RUN /bin/bash -c "source activate neuroestimator && \
R -e 'remotes::install_git(\"https://research-git.uiowa.edu/michaelson-lab-public/neuroestimator\")'" R -e 'remotes::install_git(\"https://research-git.uiowa.edu/michaelson-lab-public/neuroestimator\")'"
# Install RStudio Server
RUN wget https://download2.rstudio.org/server/jammy/amd64/rstudio-server-2024.12.1-563-amd64.deb && \
gdebi --non-interactive rstudio-server-2024.12.1-563-amd64.deb && \
rm rstudio-server-2024.12.1-563-amd64.deb
# Set up user for RStudio
RUN useradd -m rstudio && echo "rstudio:rstudio" | chpasswd && adduser rstudio sudo
# Set Conda environment activation in RStudio
RUN echo "export PATH=/opt/conda/bin:$PATH" >> /etc/profile.d/conda.sh && \
echo "source activate neuroestimator" >> /home/rstudio/.bashrc
# Set entrypoint to bash # Set entrypoint to bash
ENTRYPOINT ["/bin/bash"] ENTRYPOINT ["/bin/bash"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment