Debian Codegraph @

paper/containers/tools/art/Dockerfile

raw
1 #################################################################
2 # Dockerfile
3 #
4 # Software: ART (modified)
5 # Software Version: 1.5.1
6 # Description: ART read simulator, modified to introduce adapter sequences
7 # Website: https://sourceforge.net/projects/skewer/files/Simulator/
8 # Provides: ART
9 # Base Image: phusion/baseimage:latest
10 # Build Cmd: docker build -f Dockerfile -t jdidion/art_skewer:latest .
11 # Pull Cmd: docker pull jdidion/art_skewer
12 # Run Cmd: docker run jdidion/art_skewer
13 # Note: I worry that SourceForge is going to die any day now, so I chose to
14 # mirror the installation files here install them into the container from a
15 # local directory (hence the '-v $(pwd):/art' argument to docker build).
16 # Note: For me to be able to deploy this, it has to be tagged with my repo
17 # name. I'm not trying to take credit for anyone's work :)
18 #################################################################
19 FROM phusion/baseimage:latest
20 WORKDIR /tmp
21 ENV BUILD_PACKAGES \
22 locales \
23 build-essential \
24 gcc-multilib \
25 automake \
26 intltool \
27 pkg-config \
28 libgsl-dev
29 ADD art_illumina_src151.tar.gz .
30 ADD art_illumina_src151-adapter-enabled.tar.gz .
31 RUN apt-get clean \
32 && apt-get update \
33 && DEBIAN_FRONTEND=noninteractive apt-get -y upgrade \
34 && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
35 $BUILD_PACKAGES \
36 && cd art_illumina_dir \
37 && for f in config.sub config.guess install-sh depcomp missing INSTALL ; do rm -f $f ; ln -s /usr/share/automake-1.15/$f . ; done \
38 && ./configure --prefix /usr/local \
39 && make \
40 && make install \
41 && cd .. \
42 && locale-gen en_US.UTF-8 \
43 && update-locale LANG=en_US.UTF-8 \
44 && apt-get remove --purge -y $BUILD_PACKAGES $(apt-mark showauto) \
45 && rm -rf /var/lib/apt/lists/* /tmp/*