|
| 1 | +################## BASE IMAGE ###################### |
| 2 | + |
| 3 | +FROM python:3.10.8 |
| 4 | + |
| 5 | +################## METADATA ###################### |
| 6 | + |
| 7 | +LABEL base_image="python:3.10.8" |
| 8 | +LABEL version="1" |
| 9 | +LABEL software="i2nca" |
| 10 | +LABEL software.version="0.3.0" |
| 11 | +LABEL about.summary="A mass spectrometry imaging tool bundle for preprocessing workflows" |
| 12 | +LABEL about.home="https://github.com/cKNUSPeR/i2nca" |
| 13 | +LABEL about.documentation="https://github.com/cKNUSPeR/i2nca" |
| 14 | +LABEL about.license_file="https://github.com/cKNUSPeR/i2nca/blob/main/COPYING" |
| 15 | +LABEL about.license="SPDX:GPL-3.0-only" |
| 16 | +LABEL about.tags="Proteomics" |
| 17 | + |
| 18 | +################## MAINTAINER ###################### |
| 19 | + |
| 20 | +MAINTAINER Jannik Witte < [email protected]> |
| 21 | + |
| 22 | +################## INSTALLATION ###################### |
| 23 | + |
| 24 | +WORKDIR /app |
| 25 | + |
| 26 | +RUN apt-get update && apt-get install -y \ |
| 27 | + libgl1 \ |
| 28 | + git \ |
| 29 | + && apt-get clean \ |
| 30 | + && rm -rf /var/lib/apt/lists/* |
| 31 | + |
| 32 | +RUN pip install --no-cache-dir --upgrade pip && \ |
| 33 | + pip install --no-cache-dir numpy==1.24 && \ |
| 34 | + pip install --no-cache-dir pandas==2.1 && \ |
| 35 | + pip install --no-cache-dir matplotlib==3.7 && \ |
| 36 | + pip install --no-cache-dir scipy==1.12 && \ |
| 37 | + pip install --no-cache-dir m2aia==0.5.1 |
| 38 | + |
| 39 | +RUN pip install git+https://github.com/cKNUSPeR/pyimzml.git#egg=pyimzml && \ |
| 40 | + pip install git+https://github.com/cKNUSPeR/i2nca.git#egg=i2nca |
| 41 | + |
| 42 | +RUN groupadd -g 1001 biodockergroup && \ |
| 43 | + useradd -g biodockergroup -u 1001 biodocker |
| 44 | + |
| 45 | +USER biodocker |
| 46 | + |
| 47 | + |
0 commit comments