Debian Codegraph @

paper/containers/tools/cutadapt/Dockerfile

raw
1 #################################################################
2 # Dockerfile
3 #
4 # Software: Cutadapt
5 # Software Version: 1.16
6 # Description: Cutadapt trimming software
7 # Website: https://github.com/marcelm/cutadapt
8 # Provides: cutadapt
9 # Base Image: phusion/baseimage:latest
10 # Build Cmd: docker build -f Dockerfile -t jdidion/cutadapt:latest .
11 # Pull Cmd: docker pull jdidion/cutadapt
12 # Run Cmd: docker run --rm jdidion/cutadapt cutadapt -h
13 #################################################################
14 FROM phusion/baseimage:latest
15 WORKDIR /tmp
16 ENV VERSION v1.16
17 ENV BUILD_PACKAGES \
18 git
19 ENV RUNTIME_PACKAGES \
20 python3-pip \
21 time
22 RUN apt-get update \
23 && DEBIAN_FRONTEND=noninteractive apt-get -y upgrade \
24 && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
25 $BUILD_PACKAGES \
26 $RUNTIME_PACKAGES \
27 && ln -s /usr/bin/python3 /usr/bin/python \
28 && ln -s /usr/bin/pip3 /usr/bin/pip \
29 && pip install cython \
30 && git clone --recursive --branch $VERSION https://github.com/marcelm/cutadapt \
31 && cd cutadapt \
32 && python setup.py install \
33 && python setup.py build_ext -i \
34 && cd ..\
35 && apt-get remove --purge -y $BUILD_PACKAGES \
36 && apt-get autoremove -y \
37 && rm -rf /var/lib/apt/lists/* /tmp/* \
38 && locale-gen en_US.UTF-8 \
39 && update-locale LANG=en_US.UTF-8