【问题标题】:Unable to install google-chrome-stable 95 on Centos 7无法在 Centos 7 上安装 google-chrome-stable 95
【发布时间】:2021-10-20 23:22:28
【问题描述】:

我正在尝试将最新版本的 google-chrome-stable 95.0.4638.54 安装在以 CentOS 7 作为基础映像的容器中。

我的Dockerfile:

FROM centos:7

LABEL maintainer="team@dipcode.com"

ADD ./google-chrome.repo /etc/yum.repos.d/google-chrome.repo

RUN yum clean all \
    && yum -y install google-chrome-stable 

google-chrome.repo:

[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

在构建 Dockerfile 时,我收到以下错误:

Error: Package: google-chrome-stable-95.0.4638.54-1.x86_64 (google-chrome)
           Requires: libc.so.6(GLIBC_2.18)(64bit)

据我所知,CentOS 7 不支持 GLIBC 2.18 版,也不打算这样做。 新版本的谷歌浏览器将停止支持 CentOS 7?有没有办法超越这个问题?

【问题讨论】:

    标签: google-chrome dockerfile centos7 glibc


    【解决方案1】:

    看起来问题已在 google-chrome-stable 的更高版本中得到解决。

    【讨论】:

    • 同意 - 版本 95.0.4638.69-1 现在可以通过 yum 正常安装。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-11-15
    • 2017-05-27
    • 2019-04-06
    • 2020-06-20
    • 1970-01-01
    • 1970-01-01
    • 2015-05-31
    相关资源
    最近更新 更多