Skip to content

PavloBilyak/chrome-node-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrome-node-docker

Docker

This image is based on Ubuntu Jammy (22.04) and includes:

  • latest version of Google Chrome browser installed from Google Linux Software Repositories
  • latest LTS version of Node.js installed with Volta
  • latest versions of npm, yarn and pnpm installed with Corepack

Additionally, it uses non-root user by default!

Build locally

Build image locally:

docker build -t chrome-node:latest .

or use build.sh script.

On build you can specify NODE_VERSION env to install different from default lts version of Node.js (ex. 16)

build.sh

Script will use chrome-node as default image name, unless you provide IMAGE_NAME env to overwrite it. Also it will generate 4 version tags for current build:

  • MAJOR.MINOR.BUILD.PATCH (i.e. 110.0.5481.100)
  • MAJOR.MINOR.BUILD (i.e. 110.0.5481)
  • MAJOR.MINOR (i.e. 110.0)
  • MAJOR (i.e. 110)

Links:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages