Skip to content

Commit

Permalink
Merge pull request #2 from Australian-Imaging-Service/develop
Browse files Browse the repository at this point in the history
dropped conda install of mrtrix in dockerfile
  • Loading branch information
tclose authored Mar 7, 2024
2 parents 9c05c41 + 6354478 commit fea9c8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ jobs:
cache-from: type=registry,ref=${{ steps.versions.outputs.IMAGE }}:buildcache
cache-to: type=registry,ref=${{ steps.versions.outputs.IMAGE }}:buildcache,mode=max
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name == 'release' }}
tags: |
${{ steps.versions.outputs.TAG }}
Expand Down
12 changes: 1 addition & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,9 @@ RUN apt-get update && apt-get install -y \
python3-pip \
wget \
git \
mrtrix3 \
&& rm -rf /var/lib/apt/lists/*

# Install Miniconda
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda && \
rm Miniconda3-latest-Linux-x86_64.sh

# Add Miniconda to PATH
ENV PATH="/opt/conda/bin:${PATH}"

# Install MRtrix3
RUN conda install -c mrtrix3 mrtrix3

# Add application code
ADD . /app

Expand Down

0 comments on commit fea9c8d

Please sign in to comment.