forked from aas-integration/integration-test2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
57 lines (43 loc) · 1.29 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
45
46
47
48
49
50
51
52
53
FROM buildpack-deps:xenial-scm
RUN apt-get update && apt-get install -y software-properties-common
RUN apt-add-repository -y ppa:cwchien/gradle
RUN apt-get update && apt-get install -y \
git \
mercurial \
ant \
gradle \
graphviz \
libgraphviz-dev \
maven \
openjdk-8-jdk \
python2.7-dev \
python-pip \
wamerican \
vim \
ruby1.9
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
ENV JAVA_TOOL_OPTIONS -Dfile.encoding=UTF8
ENV INTEGRATION_DIR /integration-test2/
RUN mkdir $INTEGRATION_DIR
WORKDIR $INTEGRATION_DIR
COPY fetch_dependencies.sh build_daikon.sh ./
RUN bash fetch_dependencies.sh 1
COPY *.py ./
COPY *.sh ./
COPY dyntrace dyntrace
COPY insert_jaif insert_jaif
COPY inv_check inv_check
COPY map2annotation map2annotation
COPY ontology_to_daikon ontology_to_daikon
COPY pa2checker pa2checker
COPY simprog simprog
RUN mkdir -p /persist/integration/corpus
RUN mkdir -p /persist/integration/results
RUN touch /persist/integration/corpus.json
RUN ln -s /persist/integration/corpus $INTEGRATION_DIR/corpus
RUN ln -s /persist/integration/corpus.json $INTEGRATION_DIR/corpus.json
RUN ln -s /persist/integration/results $INTEGRATION_DIR/results
RUN rm -rf /persist/integration/
CMD ["bash"]