Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from rvema/master
Browse files Browse the repository at this point in the history
Preparation for Official image of Hygieia Starter Pack to be released to Dockerhub.
  • Loading branch information
Sbrenthughes authored Jul 26, 2019
2 parents 3b0f9f0 + ae9c8f9 commit 31c3b4c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hygieia-starter-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@ yum -y install java-1.8.0-openjdk-devel; \
yum clean all;

# Pulls API jar
RUN curl -o /hygieia/api/api.jar https://oss.sonatype.org/content/repositories/snapshots/com/capitalone/dashboard/api/3.0.2-SNAPSHOT/api-3.0.2-20190528.210119-61.jar
RUN curl -o /hygieia/api/api.jar http://central.maven.org/maven2/com/capitalone/dashboard/api/3.1.1/api-3.1.1.jar

# Pulls UI tar
RUN curl -o /hygieia/ui/ui.tar.gz https://oss.sonatype.org/content/repositories/snapshots/com/capitalone/dashboard/UI/3.0.2-SNAPSHOT/UI-3.0.2-20190528.210907-49-src.tar.gz
RUN curl -o /hygieia/ui/ui.tar.gz http://central.maven.org/maven2/com/capitalone/dashboard/UI/3.0.2/UI-3.0.2-src.tar.gz

# Pulls Github Collector jar
RUN curl -o /hygieia/collectors/github-scm-collector.jar https://oss.sonatype.org/content/repositories/snapshots/com/capitalone/dashboard/github-graphql-scm-collector/3.0.2-SNAPSHOT/github-graphql-scm-collector-3.0.2-20190528.210719-49.jar
RUN curl -o /hygieia/collectors/github-scm-collector.jar http://central.maven.org/maven2/com/capitalone/dashboard/github-scm-collector/3.1.0/github-scm-collector-3.1.0.jar

# Pulls Sonar Collector jar
RUN curl -o /hygieia/collectors/sonar-codequality-collector.jar https://oss.sonatype.org/content/repositories/snapshots/com/capitalone/dashboard/sonar-codequality-collector/3.0.2-SNAPSHOT/sonar-codequality-collector-3.0.2-20190528.210407-50.jar
RUN curl -o /hygieia/collectors/sonar-codequality-collector.jar http://central.maven.org/maven2/com/capitalone/dashboard/sonar-codequality-collector/3.1.0/sonar-codequality-collector-3.1.0.jar

# Pulls Jenkins Collector jar
RUN curl -o /hygieia/collectors/jenkins-build-collector.jar https://oss.sonatype.org/content/repositories/snapshots/com/capitalone/dashboard/jenkins-build-collector/3.0.2-SNAPSHOT/jenkins-build-collector-3.0.2-20190528.210317-50.jar
RUN curl -o /hygieia/collectors/jenkins-build-collector.jar http://central.maven.org/maven2/com/capitalone/dashboard/jenkins-build-collector/3.1.0/jenkins-build-collector-3.1.0.jar

# Bind to 0.0.0.0 to allow for external connection
RUN sed -i "s|bindIp: 127.0.0.1|bindIp: 0.0.0.0|g" /etc/mongod.conf

WORKDIR /hygieia/ui
RUN tar -zvxf ui.tar.gz
RUN mv UI-3.0.2-SNAPSHOT/dist/* /var/www/html/
RUN mv UI-3.0.2/dist/* /var/www/html/

CMD ["/usr/sbin/init"]

0 comments on commit 31c3b4c

Please sign in to comment.