viva64 / docker-chrome-windows

source for Dockerfile to build windows image with working chrome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-chrome-windows

source for Dockerfile to build windows image with working chrome

related issues:

Credit of Add-Font.ps1 file to https://github.com/wormeyman/FindFonts

Build and test

  • Build:
docker build -t windows-chrome .
  • Test:
mkdir c:\export
docker run --rm -v c:\export:c:\export windows-chrome
ls c:\export

The output should look something like this:

[1119/142812.617:ERROR:network_change_notifier_win.cc(141)] WSALookupServiceBegin failed with: 0
[1119/142814.604:INFO:headless_shell.cc(620)] Written to file C:/export/pdftest.pdf.

the PDF should contain pdf with www.google.com prooving the solution.

About

source for Dockerfile to build windows image with working chrome


Languages

Language:Dockerfile 76.6%Language:PowerShell 23.4%