Debian Codegraph @

paper/containers/tools/fastp/Dockerfile

raw
1 #################################################################
2 # Dockerfile
3 #
4 # Software: fastp
5 # Software Version: 0.12.3
6 # Description: fastp image
7 # Website: https://github.com/OpenGene/fastp
8 # Provides: fastp
9 # Base Image: phusion/baseimage:latest
10 # Build Cmd: docker build -f Dockerfile -t jdidion/fastp:latest .
11 # docker tag jdidion/fastp:latest jdidion/fastp
12 # Pull Cmd: docker pull jdidion/fastp
13 # Run Cmd: docker run jdidion/fastp fastp --help
14 # Note: for me to be able to deploy this, it has to be tagged with my repo
15 # name. I'm not trying to take credit for anyone's work :)
16 #################################################################
17 FROM phusion/baseimage:latest
18 WORKDIR /tmp
19 ENV VERSION v0.12.3
20 ENV BUILD_PACKAGES \
21 build-essential \
22 g++ \
23 libbz2-dev \
24 zlib1g-dev \
25 git \
26 perl
27 ENV RUNTIME_PACKAGES \
28 time
29 RUN apt-get update \
30 && DEBIAN_FRONTEND=noninteractive apt-get -y upgrade \
31 && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
32 $BUILD_PACKAGES \
33 $RUNTIME_PACKAGES \
34 && git clone --recursive --branch $VERSION https://github.com/OpenGene/fastp \
35 && cd fastp \
36 && make \
37 && mv /tmp/fastp/fastp /usr/local/bin \
38 && cd .. \
39 && apt-get remove --purge -y $BUILD_PACKAGES \
40 && apt-get autoremove -y \
41 && rm -rf /var/lib/apt/lists/* /tmp/* \
42 && locale-gen en_US.UTF-8 \
43 && update-locale LANG=en_US.UTF-8