Skip to content

Commit

Permalink
update base image and nileanr version in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Jan 1, 2023
1 parent 431acab commit c1d5e7d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c1d5e7d

Please sign in to comment.