Skip to content

apt-key は非推奨らしいので代替案を考える #14

@k0kishima

Description

@k0kishima

コンテナではこんな感じでchromeを入れてるんだけど、

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
apt update -qq && apt install -y libnss3 libgconf-2-4 google-chrome-stable

apt-key は非推奨でDebian 11から使用すると警告され、このバージョンが apt-key を使える最後のバージョン
使ってるdocker image は ruby 3.1.2 でこれのOSがDebian11

cat /etc/issue
Debian GNU/Linux 11 \n \l

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions