Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Add dspot-pipeline dockerimage (#802) #840

Merged
merged 4 commits into from
Jul 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package eu.stamp_project.utils.options;

import eu.stamp_project.dspot.amplifier.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Collections;
import java.util.List;
Expand Down
31 changes: 31 additions & 0 deletions kubernetes-support/Dpipeline-dockerimage/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
FROM maven:3.6.1-jdk-8

# Download the jar file from dspot releases
ADD https://github.com/STAMP-project/dspot/releases/download/dspot-2.1.0/dspot-2.1.0-jar-with-dependencies.jar /root/

COPY Dpipeline_worker.py /root/

# Can be specified or changed later in the dspot-pipeline.yaml file
ENV MONGODB_HOST=mongodb://mongo:27017
ENV ACTIVEMQ_HOST=

# Optional for pushing to the repo related to the push url
# Also can be specified later.
ENV GITHUB_OAUTH=
ENV GITHUB_USEREMAIL=
ENV PUSH_URL=

# Fixed values no need to change
ENV ACTIVEMQ_QUEUE=/queue/Dpipeline
ENV GITHUB_USERNAME=dspot

RUN apt-get update
RUN apt-get install cloc -y
RUN apt-get install python-pip -y
RUN pip install stomp.py gitpython travispy pymongo



WORKDIR /root/

ENTRYPOINT ["python","Dpipeline_worker.py"]
Loading