annotate Dockerfile @ 3:e69b7ef7a2c9

tweak
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Wed, 11 Sep 2019 19:11:05 +0900
parents 410ce7a9d7b2
children 23bf75606304
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7bc018e46a1c initial commit
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 FROM loblaw/java8
7bc018e46a1c initial commit
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
1
410ce7a9d7b2 tweak jpf
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
3 #------- set up
0
7bc018e46a1c initial commit
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 RUN apt-get update -y && apt-get upgrade -y
1
410ce7a9d7b2 tweak jpf
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
5 RUN apt-get install -y ant git wget
410ce7a9d7b2 tweak jpf
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
6
410ce7a9d7b2 tweak jpf
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
7 #------ download hamcrest and junit
410ce7a9d7b2 tweak jpf
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
8
410ce7a9d7b2 tweak jpf
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
9 RUN wget https://search.maven.org/remotecontent?filepath=org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
410ce7a9d7b2 tweak jpf
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
10 RUN wget https://search.maven.org/remotecontent?filepath=junit/junit/4.13-beta-3/junit-4.13-beta-3.jar
410ce7a9d7b2 tweak jpf
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
11 RUN git clone https://github.com/javapathfinder/jpf-core.git --single-branch java-8
3
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
12 COPY ./ThreadTest ./ThreadTest
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
13
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
14 RUN wget https://services.gradle.org/distributions/gradle-5.6.2-bin.zip && unzip -d bin/gradle gradle-5.6.2-bin.zip
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
15 RUN cd ThreadTest && ../bin/gradle/gradle-5.6.2/bin/gradle build
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
16
1
410ce7a9d7b2 tweak jpf
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
17 ENTRYPOINT ["java-8/bin/jpf"]