Skip to content

Commit

Permalink
Merge pull request #100 from rasools/OMICSINT_H24
Browse files Browse the repository at this point in the history
Add session gems workflow
  • Loading branch information
rasools authored Sep 12, 2024
2 parents 208ab1b + 70de725 commit 4b1d18b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion session_gems/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ COPY start-script.sh /usr/local/bin/start-script.sh

# Switch to root user to perform installations
USER root
RUN apt-get update && apt-get install curl unzip -y --no-install-recommends && \
RUN apt-get update && apt-get install curl git -y --no-install-recommends && \
apt-get clean && rm -rf /var/lib/apt/lists/*

# Clone the data folder from GitHub
RUN git clone --depth=1 --filter=blob:none --sparse https://github.com/NBISweden/workshop_omics_integration.git /tmp/repo && \
cd /tmp/repo && \
git sparse-checkout set session_gems/lab/data && \
mv session_gems/lab/data /home/jovyan/lab/data && \
rm -rf /tmp/repo

# Install pip requirements as root
RUN pip install --no-cache-dir -r /tmp/requirements.txt

Expand Down

0 comments on commit 4b1d18b

Please sign in to comment.