Mercurial > repos > lain > xseeker
comparison Dockerfile.planemo @ 0:15c9fbefeaf1 draft
" master branch Updating"
author | lain |
---|---|
date | Tue, 01 Feb 2022 14:19:30 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:15c9fbefeaf1 |
---|---|
1 | |
2 FROM python:3.8-buster | |
3 | |
4 # set author | |
5 MAINTAINER Lain Pavot <lain.pavot@inra.fr> | |
6 | |
7 # set encoding | |
8 ENV LC_ALL en_US.UTF-8 | |
9 ENV LANG en_US.UTF-8 | |
10 | |
11 ENV PLANEMO_VENV_LOCATION /planemo-venv | |
12 ENV CONDA /tmp/conda | |
13 | |
14 RUN \ | |
15 apt-get update \ | |
16 && apt-get install -y --no-install-recommends \ | |
17 ed \ | |
18 less \ | |
19 locales \ | |
20 vim-tiny \ | |
21 wget \ | |
22 ca-certificates \ | |
23 fonts-texgyre \ | |
24 && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ | |
25 && locale-gen en_US.utf8 \ | |
26 && /usr/sbin/update-locale LANG=en_US.UTF-8 \ | |
27 && echo "deb http://http.debian.net/debian buster main" > /etc/apt/sources.list.d/debian-unstable.list \ | |
28 && echo 'APT::Default-Release "buster";' > /etc/apt/apt.conf.d/default \ | |
29 && echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/90local-no-recommends \ | |
30 && apt-get update \ | |
31 && apt-get upgrade -y \ | |
32 && apt-get install -y --no-install-recommends \ | |
33 git \ | |
34 littler \ | |
35 libhdf5-dev \ | |
36 r-cran-littler \ | |
37 r-base \ | |
38 r-base-dev \ | |
39 r-recommended \ | |
40 python-virtualenv \ | |
41 && R -e 'install.packages("batch", repos="http://cran.us.r-project.org")' \ | |
42 && pip install virtualenv \ | |
43 && python -m virtualenv "$PLANEMO_VENV_LOCATION" \ | |
44 && . "$PLANEMO_VENV_LOCATION"/bin/activate \ | |
45 && pip install --upgrade pip setuptools \ | |
46 && pip install planemo numpy \ | |
47 && planemo conda_init --conda_prefix "$CONDA" \ | |
48 && apt-get clean autoclean \ | |
49 && apt-get autoremove --yes \ | |
50 && rm -rf /var/lib/{apt,dpkg,cache,log}/ \ | |
51 && rm -rf /usr/bin/X11 \ | |
52 && rm -rf /tmp/* ; | |
53 | |
54 CMD [] | |
55 |