Sign inSign up

zaaksam/gauge

By zaaksam

Updated almost 8 years ago

Image
0

201

zaaksam/gauge repository overview

Tags

  • 1.0.1-js

gauge plugins

js            2.3.1
html-report   4.0.5
screenshot    0.0.1

global node_modules

Chromium Dockerfile

FROM node:10.9.0-alpine
LABEL maintainer="[email protected]"
ENV CHROME_BIN=/usr/bin/chromium-browser
COPY SIMSUN.TTC /usr/share/fonts/win/
RUN echo "https://mirrors.ustc.edu.cn/alpine/v3.8/main/" > /etc/apk/repositories \
    && echo "https://mirrors.ustc.edu.cn/alpine/v3.8/community/" >> /etc/apk/repositories \
    && apk add --no-cache \
    chromium \
    nss \
    curl \
    font-adobe-100dpi \
    && chmod 777 /usr/share/fonts/win/SIMSUN.TTC \
    && fc-cache -f

Gauge Dockerfile

FROM zaaksam/chromium:latest
LABEL maintainer="[email protected]"
COPY gauge /usr/local/bin/gauge
COPY plugins/ tmp/plugins/
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
ENV NODE_PATH=/usr/local/share/.config/yarn/global/node_modules

RUN echo "registry = https://registry.npm.taobao.org" > ~/.npmrc \
    && echo "disturl = https://npm.taobao.org/dist" >> ~/.npmrc \
    && echo "puppeteer_download_host = https://npm.taobao.org/mirrors/chromium-browser-snapshots" >> ~/.npmrc \
    && npm config rm proxy \
    && npm config rm https-proxy \
    && yarn config delete proxy \
    && gauge -l debug install js -f tmp/plugins/gauge-js-2.3.1-linux.x86_64.zip \
    && gauge -l debug install html-report -f tmp/plugins/html-report-4.0.5-linux.x86_64.zip \
    && gauge -l debug install screenshot -f tmp/plugins/screenshot-0.0.1-linux.x86_64.zip \
    && rm -rf tmp/plugins \
    && yarn global add [email protected] assert axios lodash moment \
    && yarn cache clean

Tag summary

Content type

Image

Digest

Size

189.3 MB

Last updated

almost 8 years ago

docker pull zaaksam/gauge:1.0.3-js