annotate Dockerfile @ 27:144e4a8ad000 draft

master branch Updating with tag :CI_COMMIT_TAG - - Fxx
author fgiacomoni
date Mon, 06 Nov 2023 17:32:31 +0000
parents 76872ac24fb2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
76872ac24fb2 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 25
diff changeset
1 #FROM pfem/<
25
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
2 FROM python:3.8-buster
22
453fbe98925a " master branch Updating with tag :CI_COMMIT_TAG - - Fxx"
fgiacomoni
parents:
diff changeset
3
453fbe98925a " master branch Updating with tag :CI_COMMIT_TAG - - Fxx"
fgiacomoni
parents:
diff changeset
4 # set author
25
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
5 LABEL maintainer="franck.giacomoni@inrae.fr"
22
453fbe98925a " master branch Updating with tag :CI_COMMIT_TAG - - Fxx"
fgiacomoni
parents:
diff changeset
6
25
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
7 ENV PLANEMO_VENV_LOCATION /planemo-venv
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
8 ENV CONDA /tmp/conda
22
453fbe98925a " master branch Updating with tag :CI_COMMIT_TAG - - Fxx"
fgiacomoni
parents:
diff changeset
9
453fbe98925a " master branch Updating with tag :CI_COMMIT_TAG - - Fxx"
fgiacomoni
parents:
diff changeset
10
25
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
11 RUN apt-get update &&\
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
12 apt-get upgrade -y &&\
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
13 apt-get install --no-install-recommends --yes build-essential \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
14 git \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
15 libgl1-mesa-glx \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
16 libegl1-mesa \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
17 libxrandr2 \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
18 libxss1 \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
19 libxcursor1 \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
20 libxcomposite1 \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
21 libasound2 \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
22 libxi6 \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
23 libxtst6 \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
24 python-virtualenv && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
25 pip install virtualenv && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
26 python3 -m virtualenv "$PLANEMO_VENV_LOCATION" && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
27 . "$PLANEMO_VENV_LOCATION"/bin/activate && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
28 pip install --upgrade pip setuptools && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
29 pip install planemo numpy && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
30 pip install -U planemo && \
22
453fbe98925a " master branch Updating with tag :CI_COMMIT_TAG - - Fxx"
fgiacomoni
parents:
diff changeset
31 apt-get autoremove -y && \
453fbe98925a " master branch Updating with tag :CI_COMMIT_TAG - - Fxx"
fgiacomoni
parents:
diff changeset
32 apt-get clean && \
25
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
33 rm -rf /var/lib/apt/lists/* && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
34 rm -rf /tmp/* && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
35 rm -rf /var/tmp/* && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
36 rm -rf /usr/bin/X11 ;
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
37
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
38 CMD []