Skip to content

Commit

Permalink
Change curl to wget for miniconda download (failed otherwise)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeHenschel authored and m-reuter committed Jun 24, 2020
1 parent 8a433dc commit aee3454
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
git \
curl \
vim \
wget \
ca-certificates \
Expand Down Expand Up @@ -44,7 +43,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
--exclude='freesurfer/lib/qt'

# Install miniconda and needed python packages (for FastSurferCNN)
RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
RUN wget -qO ~/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
chmod +x ~/miniconda.sh && \
~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh && \
Expand Down
3 changes: 1 addition & 2 deletions Docker/Dockerfile_CPU
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
git \
curl \
vim \
wget \
ca-certificates \
Expand Down Expand Up @@ -60,7 +59,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \


# Install miniconda and needed python packages (for FastSurferCNN)
RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
RUN wget -qO ~/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
chmod +x ~/miniconda.sh && \
~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh && \
Expand Down
4 changes: 2 additions & 2 deletions Docker/Dockerfile_FastSurferCNN
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ ARG PYTHON_VERSION=3.6

# Install custom libraries
RUN apt-get update && apt-get install -y --no-install-recommends \
curl && \
wget && \
rm -rf /var/lib/apt/lists/*

# Install miniconda and needed python packages (for FastSurferCNN)
RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
RUN wget -qO ~/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
chmod +x ~/miniconda.sh && \
~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh && \
Expand Down
4 changes: 2 additions & 2 deletions Docker/Dockerfile_FastSurferCNN_CPU
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ ARG PYTHON_VERSION=3.6

# Install custom libraries
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
wget \
ca-certificates && \
rm -rf /var/lib/apt/lists/*

# Install miniconda and needed python packages (for FastSurferCNN)
RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
RUN wget -qO ~/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
chmod +x ~/miniconda.sh && \
~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh && \
Expand Down

0 comments on commit aee3454

Please sign in to comment.