Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM foxylion/jenkins
- MAINTAINER Mishel Uchuari <dmuchuari@hotmail.com>
- RUN /usr/local/bin/install-plugins.sh workflow-remote-loader workflow-aggregator build-pipeline-plugin
- ENV JENKINS_USER replicate
- ENV JENKINS_PASS replicate
- USER root
- RUN apt-get -y update && apt-get -y upgrade
- RUN apt-get install -y apt-utils
- RUN apt-get install -y python-pip
- RUN apt install -y linuxbrew-wrapper
- RUN useradd someuser -m -s /bin/bash
- USER someuser
- RUN chmod -R 777 /home/someuser
- RUN brew install libyaml
- USER root
- RUN apt-get install build-essential
- RUN apt-get -y update && apt-get -y upgrade
- RUN pip install jenkins-job-builder==2.0.0.0b2
- RUN pip install PyYAML python-jenkins
- RUN mkdir /etc/jenkins_jobs/
- COPY jenkins_jobs.ini /etc/jenkins_jobs/
- COPY scm_pipeline.yaml /etc/jenkins_jobs/
- RUN jenkins-jobs --conf /etc/jenkins_jobs/jenkins_jobs.ini update /etc/jenkins_jobs/scm_pipeline.yaml
Add Comment
Please, Sign In to add comment