From c1d5e7d7372cb1f306797701b559dc0825c02a8c Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Sun, 1 Jan 2023 20:21:20 +0100 Subject: [PATCH] update base image and nileanr version in dockerfile --- Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index d186711..6ac3174 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,16 @@ -FROM ubuntu:16.04 +FROM ubuntu:22.04 -RUN apt-get update \ - && apt-get install -y wget -RUN wget -O /etc/apt/sources.list.d/neurodebian.sources.list http://neuro.debian.net/lists/xenial.us-ca.full -RUN apt-key adv --recv-keys --keyserver hkp://pgp.mit.edu:80 0xA5D32F012649A5A9 +RUN apt-get update -qq \ + && apt-get install -y -q --no-install-recommends wget gnupg2 +RUN wget -O- http://neuro.debian.net/lists/jammy.us-ca.libre | tee /etc/apt/sources.list.d/neurodebian.sources.list +RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com 0xA5D32F012649A5A9 # Run apt-get calls -RUN apt-get update \ - && apt-get install -y python3-pip python3-matplotlib python3-scipy \ +RUN apt-get update -qq \ + && apt-get install -y -q --no-install-recommends python3-pip python3-matplotlib python3-scipy \ python3-nibabel python3-sklearn -RUN pip3 install nilearn==0.2.6 +RUN pip3 install nilearn==0.9.2 RUN mkdir -p /code COPY run.py /code/run.py