blob: fd71d226a6458f41db5529b84e0a7fb4e32aaec4 [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@"=4.19.0" \
eslint-config-google@"=0.12.0" \
eslint-plugin-html@"=5.0.3" \
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'