forked from PANTHEONtech/lighty
-
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.
Signed-off-by: Michal Banik <[email protected]>
- Loading branch information
Michal Banik
committed
Apr 13, 2021
1 parent
4fc0d62
commit 97dc867
Showing
13 changed files
with
28 additions
and
28 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,9 +1,9 @@ | ||
FROM openjdk:11-jre-slim | ||
|
||
COPY target/lighty-cluster-app-14.0.0-SNAPSHOT-bin.zip / | ||
COPY target/lighty-cluster-app-12.1.2-bin.zip / | ||
|
||
RUN apt-get update && apt-get install unzip \ | ||
&& unzip /lighty-cluster-app-14.0.0-SNAPSHOT-bin.zip \ | ||
&& rm /lighty-cluster-app-14.0.0-SNAPSHOT-bin.zip | ||
&& unzip /lighty-cluster-app-12.1.2-bin.zip \ | ||
&& rm /lighty-cluster-app-12.1.2-bin.zip | ||
|
||
ENTRYPOINT ["/lighty-cluster-app-14.0.0-SNAPSHOT/start-controller-node-k8s.sh"] | ||
ENTRYPOINT ["/lighty-cluster-app-12.1.2/start-controller-node-k8s.sh"] |
4 changes: 2 additions & 2 deletions
4
lighty-examples/lighty-cluster-app/src/main/assembly/resources/start-controller-node-k8s.sh
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,5 +1,5 @@ | ||
#!/bin/sh | ||
|
||
#start controller | ||
cd /lighty-cluster-app-14.0.0-SNAPSHOT | ||
java -ms128m -mx128m -XX:MaxMetaspaceSize=128m -jar lighty-cluster-app-14.0.0-SNAPSHOT.jar -n 0 -k | ||
cd /lighty-cluster-app-12.1.2 | ||
java -ms128m -mx128m -XX:MaxMetaspaceSize=128m -jar lighty-cluster-app-12.1.2.jar -n 0 -k |
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
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
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