Sign inSign up

codyguo/google-chrome

By codyguo

Updated almost 4 years ago

Image
0

162

codyguo/google-chrome repository overview

docker run -d \
  --name google-chrome \
  -p 9222:9222 \
  codyguo/google-chrome:latest

google-chrome.list

deb https://dl.google.com/linux/chrome/deb/ stable main
FROM debian:11.3

COPY sources.list /etc/apt

RUN \
    apt update -y \
    && apt install -y wget gnupg1

COPY google-chrome.list /etc/apt/sources.list.d

RUN \
    wget -q https://dl.google.com/linux/linux_signing_key.pub -O /tmp/linux_signing_key.pub \
    && apt-key add /tmp/linux_signing_key.pub \
    && apt update -y \
    && apt install -y xfonts-wqy ttf-wqy-microhei google-chrome-stable \
    && apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

EXPOSE 9222
ENV LANG en-US.UTF-8

ENTRYPOINT [ "/usr/bin/google-chrome", "--no-sandbox", "--disable-gpu", "--ignore-certificate-errors", "--ignore-ssl-errors", "--remote-debugging-address=0.0.0.0", "--remote-debugging-port=9222", "--headless" ]

Tag summary

Content type

Image

Digest

sha256:5a0e29ac7

Size

339.2 MB

Last updated

almost 4 years ago

docker pull codyguo/google-chrome