/
Dockerfile
54 lines (43 loc) · 1.78 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
################## BASE IMAGE ######################
FROM biocontainers/biocontainers:v1.0.0_cv4
################## METADATA ######################
LABEL base_image="biocontainers:v1.0.0_cv4"
LABEL version="2"
LABEL software="FASTX-Toolkit"
LABEL software.version="0.0.14"
LABEL about.summary="a collection of command line tools for Short-Reads FASTA/FASTQ files preprocessing"
LABEL about.home="http://hannonlab.cshl.edu/fastx_toolkit/"
LABEL about.documentation="http://hannonlab.cshl.edu/fastx_toolkit/commandline.html"
LABEL about.license_file="http://hannonlab.cshl.edu/fastx_toolkit/license.html"
LABEL about.license="SPDX:AGPL-3.0-only"
LABEL extra.identifiers.biotools="fastx-toolkit"
LABEL about.tags="Genomics"
################## MAINTAINER ######################
MAINTAINER Alicia Mastretta-Yanes <amastretta@conabio.gob.mx>
################## INSTALLATION ######################
USER root
ENV DST=/tmp
ENV URL=https://github.com/agordon/libgtextutils/releases/download/0.7/
RUN wget $URL/libgtextutils-0.7.tar.gz -O $DST/libgtextutils-0.7.tar.gz && \
tar -xvf $DST/libgtextutils-0.7.tar.gz -C $DST && \
rm $DST/libgtextutils-0.7.tar.gz && \
cd $DST/libgtextutils-0.7 && \
./configure && \
make && \
make install && \
cd / && \
rm -rf $DST/libgtextutils-0.7
ENV URL=https://github.com/agordon/fastx_toolkit/releases/download/0.0.14/
RUN wget $URL/fastx_toolkit-0.0.14.tar.bz2 -O $DST/fastx_toolkit-0.0.14.tar.bz2 && \
tar -xvf $DST/fastx_toolkit-0.0.14.tar.bz2 -C $DST && \
rm $DST/fastx_toolkit-0.0.14.tar.bz2 && \
cd $DST/fastx_toolkit-0.0.14 && \
./configure && \
make && \
make install && \
cd / && \
rm -rf $DST/fastx_toolkit-0.0.14
RUN ldconfig
ENV PATH /usr/local/bin:$PATH
USER biodocker
WORKDIR /data/