blob: 9643914852e3853ff913258d1cee731c331a4712 [file] [log] [blame]
FROM gerritforge/gerrit-ci-slave-chrome:stretch-69.0.3497.92
# Node JS for PolyGerrit build
RUN curl -sL https://deb.nodesource.com/setup_$NODE_VER.x | bash -
RUN apt-get update && apt-get install -y nodejs gcc g++ make && \
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && apt-get install yarn
COPY wct.conf.json /home/jenkins/
RUN chown jenkins:jenkins /home/jenkins/wct.conf.json
RUN npm install --unsafe-perm -g \
eslint@"=6.6.0" \
eslint-config-google@"=0.13.0" \
eslint-plugin-html@"=6.0.0" \
eslint-plugin-jsdoc@"=19.2.0" \
eslint-plugin-promise@"=4.0.1" \
typescript \
fried-twinkie@"^0.2.2" \
polylint polymer-cli
RUN npm install --unsafe-perm -g 'web-component-tester@$WCT_VER'