Mercurial > hg > Docker > JavaPathFinder
annotate Dockerfile @ 6:e49b52c098c7
mounted the current directory
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 17 Sep 2019 08:48:23 +0900 |
parents | 6ad6aeabe992 |
children |
rev | line source |
---|---|
0 | 1 FROM loblaw/java8 |
2 | |
1 | 3 #------- set up |
0 | 4 RUN apt-get update -y && apt-get upgrade -y |
1 | 5 RUN apt-get install -y ant git wget |
6 | |
7 #------ download hamcrest and junit | |
8 | |
9 RUN wget https://search.maven.org/remotecontent?filepath=org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar | |
10 RUN wget https://search.maven.org/remotecontent?filepath=junit/junit/4.13-beta-3/junit-4.13-beta-3.jar | |
11 RUN git clone https://github.com/javapathfinder/jpf-core.git --single-branch java-8 | |
3 | 12 |
13 RUN wget https://services.gradle.org/distributions/gradle-5.6.2-bin.zip && unzip -d bin/gradle gradle-5.6.2-bin.zip | |
6
e49b52c098c7
mounted the current directory
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
14 RUN cd /java-8 && ../bin/gradle/gradle-5.6.2/bin/gradle buildJars |
3 | 15 |
4
23bf75606304
add entrypoint.sh and tweak Dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
3
diff
changeset
|
16 COPY ./entrypoint.sh ./entrypoint.sh |
23bf75606304
add entrypoint.sh and tweak Dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
3
diff
changeset
|
17 ENTRYPOINT ["sh","entrypoint.sh"] |