-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
6 changed files
with
20 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
FROM tomcat:10.1.18-jre17-temurin | ||
ADD target/ROOT.war /usr/local/tomcat/webapps | ||
ADD src/main/docker/server.xml /usr/local/tomcat/conf | ||
WORKDIR /usr/local/tomcat/conf | ||
FROM ghcr.io/piranhacloud/webprofile:24.1.0 | ||
ADD target/ROOT.war /home/piranha | ||
ADD src/main/docker/startup.sh /home/piranha | ||
WORKDIR /home/piranha | ||
USER piranha | ||
RUN mkdir certs && \ | ||
keytool -genkey -alias tomcat -keyalg RSA -keystore certs/keystore -keysize 4096 -storepass changeit -dname "CN=localhost" | ||
keytool -genkey -alias self-signed -keyalg RSA -keystore certs/keystore -keysize 4096 -storepass password -dname "CN=localhost" | ||
CMD ["sh", "./startup.sh"] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# | ||
# Run the application | ||
# | ||
java -jar piranha-dist-webprofile.jar --war-file ROOT.war --http-port 8100 --https-port 8200 --https-keystore-file certs/keystore --https-keystore-password password |
Binary file not shown.