Giter Site home page Giter Site logo

ictu / docker-protractor-headless Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jciolek/docker-protractor-headless

0.0 0.0 1.0 30 KB

Protractor end to end testing for AngularJS - dockerised and headless with real Chrome.

License: MIT License

JavaScript 23.95% Shell 23.16% Dockerfile 52.89%

docker-protractor-headless's People

Contributors

eavilesmejia avatar fniessink avatar greyarch avatar jciolek avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

williamrclark

docker-protractor-headless's Issues

New version with debian strecht, node8 and chrome 73

We have developed a version of the docker file with updated components. Would it be possible to publish it in this project?

FROM node:8.16.0-stretch-slim
MAINTAINER [email protected]
WORKDIR /tmp
COPY webdriver-versions.js ./
ENV CHROME_PACKAGE="google-chrome-stable_73.0.3683.75-1_amd64.deb" NODE_PATH=/usr/local/lib/node_modules:/protractor/node_modules
RUN npm install -g [email protected] [email protected] && \
    node ./webdriver-versions.js --chromedriver 2.46 && \
    webdriver-manager update --versions.chrome 2.46 && \
    apt-get update && \
    apt-get install -y xvfb wget sudo && \
    # workaround for correct JAVA installation https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199
    mkdir -p /usr/share/man/man1 && \  
    apt-get install -y openjdk-8-jre && \
    wget https://github.com/webnicer/chrome-downloads/raw/master/x64.deb/${CHROME_PACKAGE} && \
    dpkg --unpack ${CHROME_PACKAGE} && \
    apt-get install -f -y && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* \
    rm ${CHROME_PACKAGE} && \
    mkdir /protractor
COPY protractor.sh /
COPY environment /etc/sudoers.d/
# Fix for the issue with Selenium, as described here:
# https://github.com/SeleniumHQ/docker-selenium/issues/87
ENV DBUS_SESSION_BUS_ADDRESS=/dev/null SCREEN_RES=1280x1024x24
WORKDIR /protractor
ENTRYPOINT ["/protractor.sh"]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.