Mercurial > repos > fgiacomoni > hr2
comparison Dockerfile @ 1:e2cbcf6fa22e draft
master branch Updating with tag :CI_COMMIT_TAG - - Fxx
| author | fgiacomoni |
|---|---|
| date | Sun, 11 Dec 2022 17:16:43 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:86296c048e46 | 1:e2cbcf6fa22e |
|---|---|
| 1 #FROM pfem/perlfull | |
| 2 FROM python:3.8-buster | |
| 3 | |
| 4 # set author | |
| 5 LABEL maintainer="franck.giacomoni@inrae.fr" | |
| 6 | |
| 7 ENV PLANEMO_VENV_LOCATION /planemo-venv | |
| 8 ENV CONDA /tmp/conda | |
| 9 | |
| 10 | |
| 11 RUN apt-get update &&\ | |
| 12 apt-get upgrade -y &&\ | |
| 13 apt-get install --no-install-recommends --yes build-essential \ | |
| 14 git \ | |
| 15 libgl1-mesa-glx \ | |
| 16 libegl1-mesa \ | |
| 17 libxrandr2 \ | |
| 18 libxss1 \ | |
| 19 libxcursor1 \ | |
| 20 libxcomposite1 \ | |
| 21 libasound2 \ | |
| 22 libxi6 \ | |
| 23 libxtst6 \ | |
| 24 # python3 \ | |
| 25 # python3-pip \ | |
| 26 python-virtualenv && \ | |
| 27 pip install virtualenv && \ | |
| 28 python3 -m virtualenv "$PLANEMO_VENV_LOCATION" && \ | |
| 29 . "$PLANEMO_VENV_LOCATION"/bin/activate && \ | |
| 30 pip install --upgrade pip setuptools && \ | |
| 31 pip install planemo numpy && \ | |
| 32 pip install -U planemo && \ | |
| 33 #planemo conda_init --conda_prefix "$CONDA" && \ | |
| 34 apt-get autoremove -y && \ | |
| 35 apt-get clean && \ | |
| 36 rm -rf /var/lib/apt/lists/* && \ | |
| 37 rm -rf /tmp/* && \ | |
| 38 rm -rf /var/tmp/* && \ | |
| 39 rm -rf /usr/bin/X11 ; | |
| 40 | |
| 41 CMD [] |
