ubuntu安装chrome及firefox
发布时间:2020-09-21 21:27:45 所属栏目:Ubuntu 来源:互联网
导读:序 本文主要讲述一下如何在dockerfile里头安装chrome及firefox。 chrome RUN apt-get install -y apt-transport-https ca-certificates curl gnupg --no-install-recommendsRUN curl -sSL https://dl.google.com/lin
序本文主要讲述一下如何在dockerfile里头安装chrome及firefox。 chromeRUN apt-get install -y apt-transport-https ca-certificates curl gnupg --no-install-recommends RUN curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list RUN apt-get update ## xdg-icon-resource: No writable system icon directory found. RUN apt-get install -y --force-yes --no-install-recommends hicolor-icon-theme RUN apt-get install -y google-chrome-stable --no-install-recommends
firefoxRUN apt-get install -y --force-yes --no-install-recommends python-software-properties software-properties-common RUN apt-add-repository ppa:mozillateam/firefox-next RUN apt-get update RUN apt-get install -y --force-yes --no-install-recommends firefox xvfb RUN apt-get install -y --force-yes --no-install-recommends x11vnc x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps
Xvfb :10 -ac & export DISPLAY=:10 安装中文字体
RUN apt-get install -y --force-yes --no-install-recommends
fonts-wqy-microhei
ttf-wqy-zenhei (编辑:长春站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- ubuntu 服务器中文乱码问题的解决方法
- Ubuntu 16.04 安装 VMware Tools后开机启动卡在A start job
- navicate远程访问ubuntu上的mysql数据库
- Ubuntu PHP5 / Apache2 – 显示500错误而不是错误消息
- Ubuntu server下搭建Maven私服Nexus
- VirtualBox下为Ubuntu虚机添加第二块网卡
- 在 Ubuntu 下直接将二进制文件制作成 rpm 包
- Ubuntu14.04编译Allwinner lichee 两个出错解决方法
- 来自Ubuntu 14.04的Cisco SSH密钥交换失败(客户端DH密钥范围
- Ubuntu中为Android实现Application Frameworks层增加硬件访
