Skip to content

Commit e084de2

Browse files
committed
comment out miniconda, it's interfering
1 parent b6afa8e commit e084de2

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

Dockerfile

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ FROM ubuntu:24.04
44
ENV DEBIAN_FRONTEND=noninteractive
55

66
# Create non-root user for running the container
7-
# /__w is a folder to be used by the github runner
87
RUN groupadd -r user && useradd -r -g user -m -s /bin/bash user && \
98
mkdir -p /omni && \
10-
mkdir -p /__w/_temp && \
119
chown -R user:user /omni && \
12-
chown -R user:user /__w/_temp && \
1310
mkdir -p /opt/easybuild && \
1411
chown -R user:user /opt/easybuild && \
1512
chmod 755 /root
@@ -33,17 +30,17 @@ RUN apt-get update && apt-get install -y \
3330
python3-venv
3431

3532
# Install Miniconda (snakemake needs the conda binary)
36-
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh && \
37-
bash /tmp/miniconda.sh -b -p /opt/conda && \
38-
rm /tmp/miniconda.sh && \
39-
/opt/conda/bin/conda clean -tipy && \
40-
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
41-
echo ". /opt/conda/etc/profile.d/conda.sh" >> /etc/bash.bashrc && \
42-
echo "conda activate base" >> /etc/bash.bashrc && \
43-
chown -R user:user /opt/conda
33+
# RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh && \
34+
# bash /tmp/miniconda.sh -b -p /opt/conda && \
35+
# rm /tmp/miniconda.sh && \
36+
# /opt/conda/bin/conda clean -tipy && \
37+
# ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
38+
# echo ". /opt/conda/etc/profile.d/conda.sh" >> /etc/bash.bashrc && \
39+
# echo "conda activate base" >> /etc/bash.bashrc && \
40+
# chown -R user:user /opt/conda
4441

4542
# Add conda to PATH
46-
ENV PATH="/opt/conda/bin:$PATH"
43+
# ENV PATH="/opt/conda/bin:$PATH"
4744

4845
# Install apptainer and dependencies
4946
RUN apt-get update && add-apt-repository -y ppa:apptainer/ppa \
@@ -67,6 +64,7 @@ RUN apt-get update && apt-get install -y \
6764
&& rm -rf /var/lib/apt/lists/*
6865

6966
# Initialize Lmod for both interactive and non-interactive shells
67+
# TODO: copy to user dir
7068
RUN echo 'source /etc/profile.d/lmod.sh' >> ~/.bashrc && \
7169
# Create a .profile that sources modules for non-interactive shells
7270
echo 'source /etc/profile.d/lmod.sh' > ~/.profile && \

0 commit comments

Comments
 (0)