diff --git a/handler/Dockerfile b/handler/Dockerfile index f54c4d7b..1b514c6f 100755 --- a/handler/Dockerfile +++ b/handler/Dockerfile @@ -61,9 +61,9 @@ RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesourc RUN apt-get update \ && apt-get install nodejs -y -RUN wget https://github.com/rordenlab/dcm2niix/releases/tag/v1.0.20240202/dcm2niix_lnx.zip -O /tmp/dcm2niix_lnx.zip && \ - unzip /tmp/dcm2niix_lnx.zip && \ - mv dcm2niix /usr/local/bin +RUN cd /tmp && curl -fLO https://github.com/rordenlab/dcm2niix/releases/latest/download/dcm2niix_lnx.zip \ + && unzip /tmp/dcm2niix_lnx.zip \ + && mv dcm2niix /usr/local/bin # Don't need, unless there's a reason for having the development branch ahead of scheduled release # RUN git clone --branch development https://github.com/rordenlab/dcm2niix.git \