Skip to content

Commit

Permalink
app.jar
Browse files Browse the repository at this point in the history
  • Loading branch information
lindvarl committed Jul 22, 2024
1 parent 895b8c3 commit c14a642
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Binary file modified das-producer/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion das-producer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN useradd -u 1000 ingressuser
WORKDIR /opt
USER ingressuser

ENV JAR_FILE=das-producer/target/*.jar
ENV JAR_FILE=das-producer/target/app.jar
COPY ${JAR_FILE} /opt/app.jar

ENTRYPOINT ["java", "-XshowSettings:vm", "-XX:+PrintFlagsFinal", "-XX:MaxRAMPercentage=70", "-Djava.security.egd=file:/dev/./urandom", "-Djava.awt.headless=true", "-jar", "/opt/app.jar"]
9 changes: 9 additions & 0 deletions das-producer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,15 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<finalName>app</finalName>
</configuration>
</plugin>

<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
Expand Down

0 comments on commit c14a642

Please sign in to comment.