forked from Tairy/JobX
-
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.
- Loading branch information
Showing
9 changed files
with
205 additions
and
125 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.gitattributes | ||
.gitignore | ||
header.txt | ||
LICENSE.txt | ||
README.md | ||
.idea | ||
.mvn |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM java:8-jdk | ||
|
||
LABEL [email protected] | ||
|
||
WORKDIR /working | ||
|
||
ADD pom.xml /working/pom.xml | ||
ADD jobx-agent /working/jobx-agent | ||
ADD jobx-api /working/jobx-api | ||
ADD jobx-common /working/jobx-common | ||
ADD jobx-registry /working/jobx-registry | ||
ADD jobx-rpc /working/jobx-rpc | ||
ADD jobx-server /working/jobx-server | ||
ADD jobx-examples /working/jobx-examples | ||
ADD settings.xml /working/settings.xml | ||
ADD checkstyle.xml /checkstyle.xml | ||
|
||
RUN cd /working \ | ||
&& wget http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz \ | ||
&& tar -zxvf apache-maven-3.5.4-bin.tar.gz \ | ||
&& /working/apache-maven-3.5.4/bin/mvn -f pom.xml clean install -Dmaven.test.skip=true --settings /working/settings.xml \ | ||
&& tar -zxvf jobx-agent/target/jobx-agent-1.2.0-RELEASE.tar.gz -C jobx-agent/target/ \ | ||
&& chmod +x jobx-agent/target/jobx-agent/bin/*.sh | ||
|
||
EXPOSE 1577 | ||
|
||
CMD /working/jobx-agent/target/jobx-agent/bin/startup.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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM java:8-jdk | ||
|
||
LABEL [email protected] | ||
|
||
WORKDIR /working | ||
|
||
ADD pom.xml /working/pom.xml | ||
ADD jobx-agent /working/jobx-agent | ||
ADD jobx-api /working/jobx-api | ||
ADD jobx-common /working/jobx-common | ||
ADD jobx-registry /working/jobx-registry | ||
ADD jobx-rpc /working/jobx-rpc | ||
ADD jobx-server /working/jobx-server | ||
ADD jobx-examples /working/jobx-examples | ||
ADD settings.xml /working/settings.xml | ||
ADD checkstyle.xml /checkstyle.xml | ||
ADD deployment /working/deployment | ||
|
||
RUN cd /working \ | ||
&& wget http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz \ | ||
&& tar -zxvf apache-maven-3.5.4-bin.tar.gz \ | ||
&& /working/apache-maven-3.5.4/bin/mvn -f pom.xml clean install -Dmaven.test.skip=true --settings /working/settings.xml \ | ||
&& chmod +x /working/deployment/server.sh | ||
|
||
EXPOSE 1577 | ||
|
||
CMD /working/deployment/server.sh | ||
|
||
|
||
|
Oops, something went wrong.