annotate Dockerfile @ 25:8f7546d0b925 draft

master branch Updating with tag :CI_COMMIT_TAG - - Fxx
author fgiacomoni
date Tue, 05 Jul 2022 12:39:15 +0000
parents 453fbe98925a
children 76872ac24fb2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
1 #FROM pfem/perlfull
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 && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
31 #planemo conda_init --conda_prefix "$CONDA" && \
22
453fbe98925a " master branch Updating with tag :CI_COMMIT_TAG - - Fxx"
fgiacomoni
parents:
diff changeset
32 apt-get autoremove -y && \
453fbe98925a " master branch Updating with tag :CI_COMMIT_TAG - - Fxx"
fgiacomoni
parents:
diff changeset
33 apt-get clean && \
25
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
34 rm -rf /var/lib/apt/lists/* && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
35 rm -rf /tmp/* && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
36 rm -rf /var/tmp/* && \
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
37 rm -rf /usr/bin/X11 ;
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
38
8f7546d0b925 master branch Updating with tag :CI_COMMIT_TAG - - Fxx
fgiacomoni
parents: 22
diff changeset
39 CMD []