-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
36 lines (26 loc) · 820 Bytes
/
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
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
# -----------------------------------------
# Insert apt-get instructions here to install
# any required dependencies for your module.
# RUN apt-get update
# -----------------------------------------
COPY ./ /kb/module
RUN mkdir -p /kb/module/work
ENV PATH=$PATH:/kb/dev_container/modules/kb_sdk/bin
WORKDIR /kb/module
RUN make
ENTRYPOINT [ "./scripts/entrypoint.sh" ]
CMD [ ]