Debian Codegraph @

paper/containers/tools/seqpurge/Dockerfile

raw
1 #################################################################
2 # Dockerfile
3 #
4 # Software: SeqPurge
5 # Software Version: 0.1 (9e8d99d)
6 # Description: SeqPurge image
7 # Website: https://github.com/imgag/ngs-bits
8 # Provides: SeqPurge
9 # Base Image: phusion/baseimage:latest
10 # Build Cmd: docker build -f Dockerfile -t imgag/ngs-bits:latest .
11 # docker tag imgag/ngs-bits:latest jdidion/seqpurge
12 # Pull Cmd: docker pull jdidion/seqpurge
13 # Run Cmd: docker run
14 # Note: Apparently they do not use tags or releases for ngs-bits, so I
15 # specifically checkout the commit that contains the most recent update
16 # to SeqPurge (as of this writing).
17 # Note: For me to be able to deploy this, it has to be tagged with my repo
18 # name. I'm not trying to take credit for anyone's work :)
19 #################################################################
20 FROM phusion/baseimage:latest
21 WORKDIR /tmp
22 ENV VERSION 9e8d99d
23 ENV BUILD_PACKAGES \
24 software-properties-common \
25 git \
26 cmake \
27 build-essential \
28 g++ \
29 libbz2-dev \
30 zlib1g-dev \
31 qt5-qmake \
32 libqt5sql5-mysql
33 ENV RUNTIME_PACKAGES \
34 qt5-default \
35 libqt5xmlpatterns5-dev \
36 time
37 RUN apt-get update \
38 && DEBIAN_FRONTEND=noninteractive apt-get -y upgrade \
39 && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
40 $BUILD_PACKAGES \
41 $RUNTIME_PACKAGES \
42 && git clone --recursive https://github.com/imgag/ngs-bits.git \
43 && git checkout $VERSION \
44 && cd ngs-bits \
45 && make build_3rdparty \
46 && make build_tools_release \
47 && mv /tmp/ngs-bits/bin/* /usr/local/bin \
48 && cd .. \
49 && rm -rf /var/lib/apt/lists/* /tmp/* \
50 && locale-gen en_US.UTF-8 \
51 && update-locale LANG=en_US.UTF-8