forked from kbaseattic/KBaseRNASeq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
44 lines (42 loc) · 1.33 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
FROM kbase/depl:latest
MAINTAINER KBase Developer
# Install the SDK (should go away eventually)
RUN \
. /kb/dev_container/user-env.sh && \
cd /kb/dev_container/modules && \
rm -rf jars && \
git clone https://github.com/kbase/jars && \
rm -rf kb_sdk && \
git clone https://github.com/kbase/kb_sdk -b develop && \
cd /kb/dev_container/modules/jars && \
make deploy && \
cd /kb/dev_container/modules/kb_sdk && \
make && make deploy
RUN \
. /kb/dev_container/user-env.sh && \
cd /kb/dev_container/modules && \
rm -rf genome_util && \
git clone https://github.com/kbase/genome_util && \
cd /kb/dev_container/modules/genome_util && \
make && make deploy
####END OF KBASE #############################
#apt-get update && apt-get install -y ant && \
# -----------------------------------------
# Insert apt-get instructions here to install
# any required dependencies for your module.
# -----------------------------------------
RUN apt-get update && apt-get install -y unzip gcc bzip2 ncurses-dev
WORKDIR /kb/module
COPY ./deps /kb/deps
RUN \
sh /kb/deps/kb_tophat/install-tophat.sh && \
sh /kb/deps/kb_bowtie/install-bowtie2.sh
COPY ./ /kb/module
RUN \
cd /kb/module && \
make
ENV PATH=$PATH:/kb/dev_container/modules/kb_sdk/bin
WORKDIR /kb/module
RUN mkdir -p /kb/module/work
ENTRYPOINT [ "./scripts/entrypoint.sh" ]
CMD [ ]