Skip to content

Commit

Permalink
Add session gems workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rasools committed Sep 12, 2024
1 parent 208ab1b commit 70de725
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 70de725

Please sign in to comment.