Skip to content

Commit

Permalink
update all references, clear git cache, build and gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
ravishn committed Feb 23, 2020
1 parent 2a76af3 commit 4c3a82b
Show file tree
Hide file tree
Showing 11 changed files with 341 additions and 326 deletions.
18 changes: 14 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# FROM gradle:4.7.0-jdk8-alpine
# LABEL maintainer="Ravish Nagaraj"
# WORKDIR /src
# COPY build/libs .
# RUN gradle build

FROM openjdk:8-jdk-alpine
LABEL maintainer="Ravish Nagaraj"
WORKDIR /build

WORKDIR /bin
EXPOSE 8080
ADD ${JAR_FILE} openflightsapi-docker-1.0.1.jar
ENTRYPOINT [ "./gradlew build"," && ","java","-jar","build/libs/openflightsapi-docker-1.0.1.jar" ]

RUN mkdir /api

COPY /build/libs/openflightsapi-docker-1.0.1.jar .

ENTRYPOINT ["java", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseCGroupMemoryLimitForHeap", "-Djava.security.egd=file:/dev/./urandom","-jar","/api/openfligthsapi.jar"]
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ plugins {
}

bootJar {
baseName = 'openflightsapi-docker'
version = '1.0.1'
baseName = 'openflightsapi'
version = '1.0.0'
}

group = 'com.foxtel.spring.demo'
Expand Down
Binary file modified build/libs/openflightsapi-docker-1.0.1.jar
Binary file not shown.

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions build/reports/tests/test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1>Test Summary</h1>
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">0.356s</div>
<div class="counter">1.040s</div>
<p>duration</p>
</div>
</td>
Expand Down Expand Up @@ -85,7 +85,7 @@ <h2>Packages</h2>
<td>7</td>
<td>0</td>
<td>0</td>
<td>0.356s</td>
<td>1.040s</td>
<td class="success">100%</td>
</tr>
</tbody>
Expand All @@ -112,7 +112,7 @@ <h2>Classes</h2>
<td>7</td>
<td>0</td>
<td>0</td>
<td>0.356s</td>
<td>1.040s</td>
<td class="success">100%</td>
</tr>
</tbody>
Expand All @@ -126,7 +126,7 @@ <h2>Classes</h2>
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by
<a href="http://www.gradle.org">Gradle 5.6.4</a> at 16/02/2020 5:41:27 PM</p>
<a href="http://www.gradle.org">Gradle 5.6.4</a> at 24/02/2020 10:16:02 AM</p>
</div>
</div>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1>Package com.foxtel.spring.demo.test</h1>
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">0.356s</div>
<div class="counter">1.040s</div>
<p>duration</p>
</div>
</td>
Expand Down Expand Up @@ -83,7 +83,7 @@ <h2>Classes</h2>
<td>7</td>
<td>0</td>
<td>0</td>
<td>0.356s</td>
<td>1.040s</td>
<td class="success">100%</td>
</tr>
</table>
Expand All @@ -96,7 +96,7 @@ <h2>Classes</h2>
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by
<a href="http://www.gradle.org">Gradle 5.6.4</a> at 16/02/2020 5:41:27 PM</p>
<a href="http://www.gradle.org">Gradle 5.6.4</a> at 24/02/2020 10:16:02 AM</p>
</div>
</div>
</body>
Expand Down

Large diffs are not rendered by default.

Binary file modified build/test-results/test/binary/output.bin
Binary file not shown.
Binary file modified build/test-results/test/binary/output.bin.idx
Binary file not shown.
Binary file modified build/test-results/test/binary/results.bin
Binary file not shown.
5 changes: 5 additions & 0 deletions build/tmp/bootJar/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
Manifest-Version: 1.0
Start-Class: com.foxtel.spring.demo.Application
Spring-Boot-Classes: BOOT-INF/classes/
Spring-Boot-Lib: BOOT-INF/lib/
Spring-Boot-Version: 2.2.1.RELEASE
Main-Class: org.springframework.boot.loader.JarLauncher

0 comments on commit 4c3a82b

Please sign in to comment.