Mercurial > repos > metexplore > met4j
comparison Dockerfile @ 0:dcd16521b969 draft
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 5dab0a2d83a1fdd7a1878a50ba0f24e752505393
author | metexplore |
---|---|
date | Fri, 10 Jun 2022 10:31:34 +0000 |
parents | |
children | 7a6f2380fc1d |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:dcd16521b969 |
---|---|
1 | |
2 FROM python:3.8-buster | |
3 | |
4 # set author | |
5 MAINTAINER Ludovic Cottret <ludovic.cottret@inrae.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 build-essential \ | |
25 libseccomp-dev \ | |
26 pkg-config \ | |
27 squashfs-tools \ | |
28 cryptsetup \ | |
29 && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \ | |
30 && locale-gen en_US.utf8 \ | |
31 && /usr/sbin/update-locale LANG=en_US.UTF-8 \ | |
32 && echo "deb http://http.debian.net/debian buster main" > /etc/apt/sources.list.d/debian-unstable.list \ | |
33 && echo 'APT::Default-Release "buster";' > /etc/apt/apt.conf.d/default \ | |
34 && echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/90local-no-recommends \ | |
35 && apt-get update \ | |
36 && apt-get upgrade -y \ | |
37 && apt-get install -y --no-install-recommends \ | |
38 git \ | |
39 littler \ | |
40 libhdf5-dev \ | |
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 SHELL ["/bin/bash", "-c"] | |
55 | |
56 RUN \ | |
57 export VERSION=1.17.2 OS=linux ARCH=amd64 \ | |
58 && wget https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz \ | |
59 && tar -C /usr/local -xzvf go$VERSION.$OS-$ARCH.tar.gz \ | |
60 && rm go$VERSION.$OS-$ARCH.tar.gz \ | |
61 && echo 'export PATH=/usr/local/go/bin:$PATH' >> ~/.bashrc \ | |
62 && source ~/.bashrc | |
63 | |
64 RUN \ | |
65 echo 'export PATH=/usr/local/go/bin:$PATH' >> ~/.bashrc \ | |
66 && source ~/.bashrc \ | |
67 && export VERSION=3.10.0 \ | |
68 && wget https://github.com/sylabs/singularity/releases/download/v${VERSION}/singularity-ce-${VERSION}.tar.gz \ | |
69 && tar -xzf singularity-ce-${VERSION}.tar.gz \ | |
70 && cd singularity-ce-${VERSION} \ | |
71 && ./mconfig && \ | |
72 make -C builddir && \ | |
73 make -C builddir install | |
74 | |
75 CMD [] | |
76 |