This container is the jenkins slave for running codeceptjs automated test.
FROM accenture/adop-jenkins-slave:0.1.4
USER root
WORKDIR /home
RUN yum install -y curl python-software-properties
RUN curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
RUN yum install -y nodejs
RUN npm install nodejs
RUN npm install npm
RUN npm install codeceptjs
RUN npm install mocha@*
RUN npm install mochawesome
RUN npm install mochawesome-report-generator
RUN npm install webdriverio
RUN npm install imap-simple
#RUN git clone https://gitlab.com/DigitalOnUs/CodeceptJS.git
ADD CodeceptJS ./CodeceptJS
RUN ln -sf /home/CodeceptJS/bin/codecept.js /usr/bin/codeceptjs
RUN cd /home/CodeceptJS && npm install
RUN cd /home/CodeceptJS && npm install mochawesome --save-dev
RUN cd /home/CodeceptJS && npm install mochawesome-report-generator --save-dev
RUN cd /home/CodeceptJS && npm install imap-simple --save-dev
FROM accenture/adop-jenkins-slave:0.1.4
USER root
RUN yum install -y curl python-software-properties
RUN curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
RUN yum install -y nodejs
RUN npm install codeceptjs
RUN npm install mocha@*
RUN npm i mochawesome
RUN npm install webdriverio
RUN git clone https://gitlab.com/DigitalOnUs/CodeceptJS.git
RUN ln -sf /home/CodeceptJS/bin/codecept.js /usr/bin/codeceptjs
RUN cd /home/CodeceptJS && npm install
FROM accenture/adop-jenkins-slave:0.1.4
USER root
RUN yum install -y curl python-software-properties
RUN curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
#RUN curl -sL https://deb.nodesource.com/setup_7.x | bash -
RUN yum install -y nodejs
RUN npm install codeceptjs -g
RUN npm install unirest -g
RUN npm install mochawesome -g
RUN npm install webdriverio -g
RUN npm install papaparse -g
RUN git clone https://dockerdou:[email protected]/AlanZinho/codeceptjs.git /home/CodeceptJS
RUN ln -sf /home/CodeceptJS/bin/codecept.js /usr/bin/codeceptjs
RUN cd /home/CodeceptJS && npm install
RUN cd /home/CodeceptJS && npm install mocha@* && npm i mochawesome
Content type
Image
Digest
Size
588.1 MB
Last updated
over 8 years ago
docker pull aditazz/jenkins-slave-codeceptjs