Dockerfile 737 B

12345678910111213141516171819
  1. FROM ubuntu:18.04
  2. # https://brave-browser.readthedocs.io/en/latest/installing-brave.html#linux
  3. RUN apt-get update \
  4. && apt-get install --yes --no-install-recommends \
  5. ca-certificates \
  6. curl \
  7. gnupg2 \
  8. && curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc \
  9. | apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add - \
  10. && echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bionic main" \
  11. > /etc/apt/sources.list.d/brave-browser-release.list
  12. RUN apt-get update \
  13. && apt-get install --yes --no-install-recommends brave-keyring brave-browser
  14. RUN useradd --create-home browser
  15. USER browser
  16. CMD ["brave-browser", "--no-sandbox"]