Giter Site home page Giter Site logo

alpine-node-chromium's Introduction

alpine-node-chromium

Dockerized chromium, built on top of official Node alpine images.

About image

• What, why, how?

Image intended to be used in modern front-end development workflow, to be exact, with Karma test runner via karma-chrome-launcher which uses headless Chromium instead traditional PhantomJS which doesn't play well with Alpine linux.

If you're interested into actual Karma configuration, it looks like:

  browsers: ['ChromiumNoSandbox'],
  customLaunchers: {
    ChromiumNoSandbox: {
      base: 'ChromiumHeadless',
      flags: ['--no-sandbox', '--headless', '--disable-gpu', '--disable-translate', '--disable-extensions']
    }
  }

• Image tags

  • rastasheep/alpine-node-chromium:8-alpine (based on: node:8-alpine)
  • rastasheep/alpine-node-chromium:7-alpine (based on: node:7-alpine)
  • rastasheep/alpine-node-chromium:6-alpine (based on: node:6-alpine)
  • rastasheep/alpine-node-chromium:4-alpine (based on: node:4-alpine)

• Installed packages

Chromium stuff

Image optimization libs

• Environment variables

  • CHROME_BIN=/usr/bin/chromium-browser
  • LIGHTHOUSE_CHROMIUM_PATH=/usr/bin/chromium-browser

Issues

If you run into any problems with this image, please check (and potentially file new) issues on the rastasheep/alpine-node-chromium repository, which is the source for this image.

License

alpine-node-chromium is licensed under the MIT license.

alpine-node-chromium's People

Contributors

guybbb avatar n0v1 avatar rastasheep avatar

Watchers

 avatar

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.