Mercurial > repos > lain > ms2snoop
comparison Dockerfile @ 0:67733206be53 draft
" master branch Updating"
author | lain |
---|---|
date | Thu, 14 Apr 2022 10:23:15 +0000 |
parents | |
children | e1c0f63872c4 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:67733206be53 |
---|---|
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 ENV R_BASE_VERSION 4.0.3 | |
11 | |
12 ENV PLANEMO_VENV_LOCATION /planemo-venv | |
13 ENV CONDA /tmp/conda | |
14 | |
15 RUN \ | |
16 apt-get update \ | |
17 && apt-get install -y --no-install-recommends \ | |
18 ed \ | |
19 less \ | |
20 locales \ | |
21 vim-tiny \ | |
22 wget \ | |
23 ca-certificates \ | |
24 fonts-texgyre \ | |
25 && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ | |
26 && locale-gen en_US.utf8 \ | |
27 && /usr/sbin/update-locale LANG=en_US.UTF-8 \ | |
28 && echo "deb http://http.debian.net/debian buster main" > /etc/apt/sources.list.d/debian-unstable.list \ | |
29 && echo 'APT::Default-Release "buster";' > /etc/apt/apt.conf.d/default \ | |
30 && echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/90local-no-recommends \ | |
31 && apt-get update \ | |
32 && apt-get upgrade -y \ | |
33 && apt-get install -y --no-install-recommends \ | |
34 git \ | |
35 littler \ | |
36 libhdf5-dev \ | |
37 r-cran-littler \ | |
38 r-base \ | |
39 r-base-dev \ | |
40 r-recommended \ | |
41 python-virtualenv \ | |
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 |