Skip to content

Commit c1d5e7d

Browse files
committed
update base image and nileanr version in dockerfile
1 parent 431acab commit c1d5e7d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:22.04
22

3-
RUN apt-get update \
4-
&& apt-get install -y wget
5-
RUN wget -O /etc/apt/sources.list.d/neurodebian.sources.list http://neuro.debian.net/lists/xenial.us-ca.full
6-
RUN apt-key adv --recv-keys --keyserver hkp://pgp.mit.edu:80 0xA5D32F012649A5A9
3+
RUN apt-get update -qq \
4+
&& apt-get install -y -q --no-install-recommends wget gnupg2
5+
RUN wget -O- http://neuro.debian.net/lists/jammy.us-ca.libre | tee /etc/apt/sources.list.d/neurodebian.sources.list
6+
RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com 0xA5D32F012649A5A9
77

88
# Run apt-get calls
9-
RUN apt-get update \
10-
&& apt-get install -y python3-pip python3-matplotlib python3-scipy \
9+
RUN apt-get update -qq \
10+
&& apt-get install -y -q --no-install-recommends python3-pip python3-matplotlib python3-scipy \
1111
python3-nibabel python3-sklearn
1212

13-
RUN pip3 install nilearn==0.2.6
13+
RUN pip3 install nilearn==0.9.2
1414
RUN mkdir -p /code
1515

1616
COPY run.py /code/run.py

0 commit comments

Comments
 (0)