Skip to content

Commit

Permalink
reduced scope of Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdeback authored and ericdeback committed Apr 10, 2024
1 parent 7067c44 commit 02a5883
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY . /app
RUN dir

# Build the application
RUN javac app/MyApp.java
#RUN javac app/target/MyApp.java

# Run the application
CMD ["java", "MyApp"]
#CMD ["java", "MyApp"]
2 changes: 1 addition & 1 deletion target/surefire-reports/MyAppTest.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-------------------------------------------------------------------------------
Test set: MyAppTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 s - in MyAppTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 s - in MyAppTest
14 changes: 7 additions & 7 deletions target/surefire-reports/TEST-MyAppTest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="MyAppTest" time="0.08" tests="4" errors="0" skipped="0" failures="0">
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="MyAppTest" time="0.088" tests="4" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="19"/>
<property name="sun.cpu.isalist" value="amd64"/>
Expand All @@ -15,7 +15,7 @@
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="GB"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk-19\bin"/>
<property name="sun.java.command" value="C:\Users\ericd\AppData\Local\Temp\surefire5796988134669985288\surefirebooter13745427272589015551.jar C:\Users\ericd\AppData\Local\Temp\surefire5796988134669985288 2024-04-09T18-08-21_703-jvmRun1 surefire15644560996811903078tmp surefire_09007385823312475211tmp"/>
<property name="sun.java.command" value="C:\Users\ericd\AppData\Local\Temp\surefire6606469878656477102\surefirebooter15219319833539494639.jar C:\Users\ericd\AppData\Local\Temp\surefire6606469878656477102 2024-04-09T18-10-19_271-jvmRun1 surefire11984609179056901206tmp surefire_08264108102922136903tmp"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="C:\Data\Java\Minor projects\HelloWorld\target\test-classes;C:\Data\Java\Minor projects\HelloWorld\target\classes;C:\Users\ericd\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.10.0\junit-jupiter-api-5.10.0.jar;C:\Users\ericd\.m2\repository\org\opentest4j\opentest4j\1.3.0\opentest4j-1.3.0.jar;C:\Users\ericd\.m2\repository\org\junit\platform\junit-platform-commons\1.10.0\junit-platform-commons-1.10.0.jar;C:\Users\ericd\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\ericd\.m2\repository\com\microsoft\playwright\playwright\1.42.0\playwright-1.42.0.jar;C:\Users\ericd\.m2\repository\com\google\code\gson\gson\2.10.1\gson-2.10.1.jar;C:\Users\ericd\.m2\repository\com\microsoft\playwright\driver\1.42.0\driver-1.42.0.jar;C:\Users\ericd\.m2\repository\com\microsoft\playwright\driver-bundle\1.42.0\driver-bundle-1.42.0.jar;C:\Users\ericd\.m2\repository\com\deque\html\axe-core\playwright\4.9.0\playwright-4.9.0.jar;C:\Users\ericd\.m2\repository\commons-codec\commons-codec\1.16.1\commons-codec-1.16.1.jar;C:\Users\ericd\.m2\repository\org\apache\commons\commons-compress\1.26.0\commons-compress-1.26.0.jar;C:\Users\ericd\.m2\repository\org\apache\commons\commons-lang3\3.14.0\commons-lang3-3.14.0.jar;C:\Users\ericd\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.16.1\jackson-annotations-2.16.1.jar;C:\Users\ericd\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.16.1\jackson-databind-2.16.1.jar;C:\Users\ericd\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.16.1\jackson-core-2.16.1.jar;C:\Users\ericd\.m2\repository\commons-io\commons-io\2.15.1\commons-io-2.15.1.jar;C:\Users\ericd\.m2\repository\com\deque\html\axe-core\dequeutilites\4.9.0\dequeutilites-4.9.0.jar;"/>
<property name="sun.cpu.endian" value="little"/>
Expand All @@ -30,7 +30,7 @@
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="surefire.real.class.path" value="C:\Users\ericd\AppData\Local\Temp\surefire5796988134669985288\surefirebooter13745427272589015551.jar"/>
<property name="surefire.real.class.path" value="C:\Users\ericd\AppData\Local\Temp\surefire6606469878656477102\surefirebooter15219319833539494639.jar"/>
<property name="user.script" value=""/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="java.runtime.version" value="19.0.2+7-44"/>
Expand Down Expand Up @@ -59,8 +59,8 @@
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="java.class.version" value="63.0"/>
</properties>
<testcase name="FourthAppDumbTest" classname="MyAppTest" time="0.039"/>
<testcase name="FirstAppDumbTest" classname="MyAppTest" time="0.001"/>
<testcase name="SecondAppDumbTest" classname="MyAppTest" time="0.001"/>
<testcase name="ThirdAppDumbTest" classname="MyAppTest" time="0.001"/>
<testcase name="FourthAppDumbTest" classname="MyAppTest" time="0.044"/>
<testcase name="FirstAppDumbTest" classname="MyAppTest" time="0.002"/>
<testcase name="SecondAppDumbTest" classname="MyAppTest" time="0.002"/>
<testcase name="ThirdAppDumbTest" classname="MyAppTest" time="0.002"/>
</testsuite>

0 comments on commit 02a5883

Please sign in to comment.