Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from rajaram5/develop
To test hub.docker trigger
- Loading branch information
Showing
39 changed files
with
3,190 additions
and
431 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM tomcat:8.0-jre8-alpine | ||
|
||
MAINTAINER Rajaram Kaliyaperumal <rr.kaliyaperumal@gmail.com> | ||
|
||
# Copy setup file | ||
COPY dockerSetup.sh / | ||
# RUN setup file | ||
RUN sh /dockerSetup.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
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,37 @@ | ||
#!/bin/sh | ||
|
||
# Install nano, git and maven openjdk-8-jdk | ||
apk update | ||
apk upgrade | ||
apk add --no-cache bash nano git maven | ||
apk add --no-cache openjdk8 | ||
|
||
# clone fairmetadata4j repository | ||
git clone --depth 1 -b develop https://github.com/DTL-FAIRData/fairmetadata4j /fairmetadata4j | ||
|
||
# Install fairmetadata4j | ||
cd /fairmetadata4j | ||
mvn --quiet --fail-fast install | ||
|
||
# Clone FAIRDataPoint repository | ||
cd / | ||
git clone --depth 1 -b develop https://github.com/DTL-FAIRData/FAIRDataPoint /FAIRDataPoint | ||
|
||
# Build FAIRDataPoint | ||
cd /FAIRDataPoint | ||
mvn --quiet --fail-fast verify | ||
|
||
# Remove ROOT dir | ||
rm -rf /usr/local/tomcat/webapps/ROOT/* | ||
|
||
# Add FDP folder to tomcat webapps | ||
cp -rf /FAIRDataPoint/target/fdp/* /usr/local/tomcat/webapps/ROOT | ||
|
||
# Remove unused DIR | ||
cd / | ||
rm -rf /FAIRDataPoint | ||
rm -rf /fairmetadata4j | ||
rm -rf /root/.m2/repository/* | ||
|
||
# Remove unused apps | ||
apk del git maven openjdk8 |
Large diffs are not rendered by default.
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,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project-shared-configuration> | ||
<!-- | ||
This file contains additional configuration written by modules in the NetBeans IDE. | ||
The configuration is intended to be shared among all the users of project and | ||
therefore it is assumed to be part of version control checkout. | ||
Without this configuration present, some functionality in the IDE may be limited or fail altogether. | ||
--> | ||
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1"> | ||
<!-- | ||
Properties that influence various parts of the IDE, especially code formatting and the like. | ||
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up. | ||
That way multiple projects can share the same settings (useful for formatting rules for example). | ||
Any value defined here will override the pom.xml file value but is only applicable to the current project. | ||
--> | ||
<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>Tomcat</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server> | ||
</properties> | ||
</project-shared-configuration> |
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
Oops, something went wrong.